Skip to content

Unsetting litellm_params from the client per request? #3292

Answered by Manouchehri
Manouchehri asked this question in Q&A
Discussion options

You must be logged in to vote

To control this per request, use null.

curl -v "${OPENAI_API_BASE}/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -d '{
    "model": "gpt-3.5-turbo",
    "seed": null,
    "messages": [
      {
        "role": "user",
        "content": "what is your name"
      }
    ]
  }'

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@zazer0
Comment options

@krrishdholakia
Comment options

@zazer0
Comment options

@krrishdholakia
Comment options

@zazer0
Comment options

Comment options

You must be logged in to vote
1 reply
@Manouchehri
Comment options

Manouchehri Jun 21, 2024
Collaborator Author

Comment options

Manouchehri
Jun 21, 2024
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by Manouchehri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants