sarath2803 commited on
Commit
2e4dcb5
·
verified ·
1 Parent(s): 95491c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -143,7 +143,7 @@ class BasicAgent:
143
  llm = ChatOpenAI(model="gpt-4o", temperature=0)
144
  self.agent= CodeAgent(
145
  tools = [add, subtract, multiply, divide, web_search, image_generation_tool],
146
- llm=llm,
147
  )
148
  def __call__(self, question: str, context: str = "") -> str:
149
  print(f"Agent received question (first 50 chars): {question[:50]}...")
 
143
  llm = ChatOpenAI(model="gpt-4o", temperature=0)
144
  self.agent= CodeAgent(
145
  tools = [add, subtract, multiply, divide, web_search, image_generation_tool],
146
+ model=llm,
147
  )
148
  def __call__(self, question: str, context: str = "") -> str:
149
  print(f"Agent received question (first 50 chars): {question[:50]}...")