The request you would send to LiteLLM /chat/completions endpoint.
-How LiteLLM transforms your request for the specified provider.
-Note: Sensitive headers are not shown.
-{transformedRequest}- -
The request you would send to LiteLLM /chat/completions endpoint.
-How LiteLLM transforms your request for the specified provider.
-Note: Sensitive headers are not shown.
-{transformedRequest}- -
The request you would send to LiteLLM /chat/completions endpoint.
-How LiteLLM transforms your request for the specified provider.
-Note: Sensitive headers are not shown.
-- {transformedResponse || `curl -X POST \\ - https://api.openai.com/v1/chat/completions \\ - -H 'Authorization: Bearer sk-xxx' \\ - -H 'Content-Type: application/json' \\ - -d '{ - "model": "gpt-4", - "messages": [ - { - "role": "system", - "content": "You are a helpful assistant." - } - ], - "temperature": 0.7 - }'`} -- - } - className={styles['copy-button']} - onClick={() => { - navigator.clipboard.writeText(transformedResponse || ''); - message.success('Copied to clipboard'); - }} - /> -
Found an error? File an issue here.
-