丁云鹏 hace 1 mes
padre
commit
1922cdd15f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: