소스 검색

clean_agent

丁云鹏 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: