
    ^h                         S SK r S SKJrJr  S SKJr  \" 5       r\R                  \S/SS/S/S9  \R                  S5      \R                  S5      S	\4S
 j5       5       r	\
S:X  a  S SKr\R                  " \SSS9  gg)    N)FastAPIRequest)CORSMiddleware*T)allow_originsallow_credentialsallow_methodsallow_headersz/chat/completionsz/v1/chat/completionsrequestc           
      x   #    S[         R                  " 5       R                   3SSSSSSSS	.S S
S./SSSS.S.$ 7f)Nz	chatcmpl-zchat.completioni@czgpt-3.5-turbo-0125fp_44709d6fcbr   	assistantz*

Hello there, how may I assist you today?)rolecontentstop)indexmessagelogprobsfinish_reason	         )prompt_tokenscompletion_tokenstotal_tokens)idobjectcreatedmodelsystem_fingerprintchoicesusage)uuiduuid4hex)r   s    g/home/james-whalen/.local/lib/python3.13/site-packages/litellm/proxy/proxy_load_test/openai_endpoint.py
completionr'      sb      $**,**+,#%- 'M !!'

 $%2rR# s   8:__main__z0.0.0.0i  )hostport)r#   fastapir   r   fastapi.middleware.corsr   appadd_middlewarepostr'   __name__uvicornrun     r&   <module>r5      s   
  $ 2i   %%%   

 !g  " , z KK)$/	 r4   