mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Default to gemini 2.5 model series on init and for eval
This commit is contained in:
@@ -20,7 +20,7 @@ def create_test_automation(client: TestClient) -> str:
|
||||
"""Helper function to create a test automation and return its ID."""
|
||||
state.anonymous_mode = True
|
||||
ChatModelFactory(
|
||||
name="gemini-2.0-flash", model_type="google", ai_model_api=AiModelApiFactory(api_key=get_chat_api_key("google"))
|
||||
name="gemini-2.5-flash", model_type="google", ai_model_api=AiModelApiFactory(api_key=get_chat_api_key("google"))
|
||||
)
|
||||
params = {
|
||||
"q": "test automation",
|
||||
@@ -37,7 +37,7 @@ def test_create_automation(client: TestClient):
|
||||
# Arrange
|
||||
state.anonymous_mode = True
|
||||
ChatModelFactory(
|
||||
name="gemini-2.0-flash", model_type="google", ai_model_api=AiModelApiFactory(api_key=get_chat_api_key("google"))
|
||||
name="gemini-2.5-flash", model_type="google", ai_model_api=AiModelApiFactory(api_key=get_chat_api_key("google"))
|
||||
)
|
||||
params = {
|
||||
"q": "test automation",
|
||||
|
||||
Reference in New Issue
Block a user