mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-15 09:12:18 +00:00
fix(vertex-ai): satisfy tool deduplication lint
This commit is contained in:
parent
2a99d3a747
commit
f6f86f04bf
1 changed files with 1 additions and 1 deletions
|
|
@ -411,7 +411,7 @@ class VertexGeminiConfig(VertexAIBaseConfig, BaseConfig):
|
|||
if not isinstance(tools, list):
|
||||
return
|
||||
|
||||
deduplicated: Final[list] = []
|
||||
deduplicated: Final[list] = [] # mutable-ok: request payload requires an ordered list
|
||||
for tool in tools:
|
||||
if tool not in deduplicated:
|
||||
deduplicated.append(tool)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue