SergeyO7 commited on
Commit
3c4a95d
·
verified ·
1 Parent(s): b838851

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -379,7 +379,7 @@ class MagAgent:
379
  img_path = self.download_tool(task_id)
380
 
381
  response = await asyncio.to_thread(
382
- self.model.create,
383
  messages=[{
384
  "role": "user",
385
  "content": [
 
379
  img_path = self.download_tool(task_id)
380
 
381
  response = await asyncio.to_thread(
382
+ self.model,
383
  messages=[{
384
  "role": "user",
385
  "content": [