mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-15 01:39:41 +00:00
add gemini 2.0 flash (#1745)
This commit is contained in:
parent
f9296ba1d6
commit
22cefee5f9
1 changed files with 20 additions and 0 deletions
|
@ -305,6 +305,26 @@ if settings.ENABLE_AZURE_O3_MINI:
|
||||||
)
|
)
|
||||||
|
|
||||||
if settings.ENABLE_GEMINI:
|
if settings.ENABLE_GEMINI:
|
||||||
|
LLMConfigRegistry.register_config(
|
||||||
|
"GEMINI_FLASH_2_0",
|
||||||
|
LLMConfig(
|
||||||
|
"gemini/gemini-2.0-flash-001",
|
||||||
|
["GEMINI_API_KEY"],
|
||||||
|
supports_vision=True,
|
||||||
|
add_assistant_prefix=False,
|
||||||
|
max_completion_tokens=8192,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
LLMConfigRegistry.register_config(
|
||||||
|
"GEMINI_FLASH_2_0_LITE",
|
||||||
|
LLMConfig(
|
||||||
|
"gemini/gemini-2.0-flash-lite-preview-02-05",
|
||||||
|
["GEMINI_API_KEY"],
|
||||||
|
supports_vision=True,
|
||||||
|
add_assistant_prefix=False,
|
||||||
|
max_completion_tokens=8192,
|
||||||
|
),
|
||||||
|
)
|
||||||
LLMConfigRegistry.register_config(
|
LLMConfigRegistry.register_config(
|
||||||
"GEMINI_PRO",
|
"GEMINI_PRO",
|
||||||
LLMConfig(
|
LLMConfig(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue