Skip to content

Using LiteLLM with other models #705

Discussion options

You must be logged in to vote

you can also specify params to drop https://docs.litellm.ai/docs/completion/drop_params#specify-params-to-drop

- litellm_params:
    api_base: my-base
    model: openai/my-model
    additional_drop_params: ["presence_penalty", "frequency_penalty"] # 👈 KEY CHANGE
  model_name: my-model

would it be easier if you could control this client-side? @chriswarkentin

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@krrishdholakia
Comment options

Answer selected by chriswarkentin
@chriswarkentin
Comment options

@chriswarkentin
Comment options

@chriswarkentin
Comment options

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