MickyWin22 commited on
Commit
95c9871
·
verified ·
1 Parent(s): a73870f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ class GaiaSmolAgent:
89
 
90
  Now, write the Python script to answer the user's question.
91
  """
92
- messages = [{"role": "user", "content": prompt}]
93
  response = self.planner_model.generate(messages)
94
 
95
  if "```python" in response:
 
89
 
90
  Now, write the Python script to answer the user's question.
91
  """
92
+ messages = [{"role": "user", "content": [{"type": "text", "text": prompt}]}]
93
  response = self.planner_model.generate(messages)
94
 
95
  if "```python" in response: