Ahmud commited on
Commit
3fe3b6d
·
verified ·
1 Parent(s): 0f436dd

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +2 -2
agent.py CHANGED
@@ -22,7 +22,7 @@ langsmith_tracing = os.getenv("LANGSMITH_TRACING")
22
  llm = ChatOpenAI(
23
  base_url="https://openrouter.ai/api/v1",
24
  api_key=os.getenv("OPENROUTER_API_KEY"),
25
- model="deepseek/deepseek-chat-v3-0324:free", # Model must support function calling in OpenRouter
26
  temperature=1
27
  )
28
 
@@ -119,7 +119,7 @@ class LangGraphAgent:
119
  llm = ChatOpenAI(
120
  base_url="https://openrouter.ai/api/v1",
121
  api_key=api_key,
122
- model="deepseek/deepseek-chat-v3-0324:free",
123
  temperature=1
124
  )
125
  llm_with_tools = llm.bind_tools(tools)
 
22
  llm = ChatOpenAI(
23
  base_url="https://openrouter.ai/api/v1",
24
  api_key=os.getenv("OPENROUTER_API_KEY"),
25
+ model="moonshotai/kimi-k2:free", # Model must support function calling in OpenRouter
26
  temperature=1
27
  )
28
 
 
119
  llm = ChatOpenAI(
120
  base_url="https://openrouter.ai/api/v1",
121
  api_key=api_key,
122
+ model="moonshotai/kimi-k2:free",
123
  temperature=1
124
  )
125
  llm_with_tools = llm.bind_tools(tools)