Kaynağa Gözat

clean_agent

丁云鹏 1 ay önce
ebeveyn
işleme
1922cdd15f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      tools/agent_tools.py

+ 1 - 1
tools/agent_tools.py

@@ -124,7 +124,7 @@ class QueryDataTool:
 
         results: List[Dict[str, Any]] = []
         for row in rows:
-            data_cell = row[0]
+            data_cell = row
             if not data_cell:
                 continue
             try: