丁云鹏 пре 1 месец
родитељ
комит
1922cdd15f
1 измењених фајлова са 1 додато и 1 уклоњено
  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: