Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
@@ -29,7 +29,7 @@ def get_llm():
|
|
29 |
llm = ChatOpenAI(
|
30 |
base_url="https://openrouter.ai/api/v1",
|
31 |
api_key=key,
|
32 |
-
model="
|
33 |
temperature=1
|
34 |
)
|
35 |
# Optionally, test the key with a trivial call to ensure it's valid
|
@@ -130,7 +130,7 @@ class LangGraphAgent:
|
|
130 |
current_llm = ChatOpenAI(
|
131 |
base_url="https://openrouter.ai/api/v1",
|
132 |
api_key=api_key,
|
133 |
-
model="
|
134 |
temperature=1
|
135 |
)
|
136 |
|
|
|
29 |
llm = ChatOpenAI(
|
30 |
base_url="https://openrouter.ai/api/v1",
|
31 |
api_key=key,
|
32 |
+
model="moonshotai/kimi-k2:free",
|
33 |
temperature=1
|
34 |
)
|
35 |
# Optionally, test the key with a trivial call to ensure it's valid
|
|
|
130 |
current_llm = ChatOpenAI(
|
131 |
base_url="https://openrouter.ai/api/v1",
|
132 |
api_key=api_key,
|
133 |
+
model="moonshotai/kimi-k2:free",
|
134 |
temperature=1
|
135 |
)
|
136 |
|