mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-02 07:13:02 +00:00
fix(gemini): mark the responseLogprobs store rebind-ok for LIT011
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
ffb199d05c
commit
e5a489ca31
1 changed files with 1 additions and 1 deletions
|
|
@ -1690,7 +1690,7 @@ class VertexGeminiConfig(VertexAIBaseConfig, BaseConfig):
|
|||
optional_params["responseLogprobs"] = value
|
||||
elif param == "top_logprobs":
|
||||
optional_params["logprobs"] = value
|
||||
optional_params["responseLogprobs"] = True
|
||||
optional_params["responseLogprobs"] = True # rebind-ok: this mapping fills optional_params in place
|
||||
elif (param == "tools" or param == "functions") and isinstance(value, list) and value:
|
||||
# Pass optional_params so _map_function can add toolConfig if needed
|
||||
mapped_tools = with_integer_enums_that_fit(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue