Skip to content

Commit 64a8cc9

Browse files
committed
format and assgin pyarrow
1 parent d608571 commit 64a8cc9

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

kag/common/tools/search_api/impl/openspg_search_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
logger = logging.getLogger(__name__)
99

10+
1011
@SearchApiABC.register("openspg_search_api", as_default=True)
1112
class OpenSPGSearchAPI(SearchApiABC):
1213
def __init__(self, project_id=None, host_addr=None, **kwargs):

kag/solver/pipeline/kag_static_pipeline.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ async def ainvoke(self, query, **kwargs):
131131
tasks = await self.planning(query, context, **kwargs)
132132
if not tasks:
133133
think_response = context.kwargs.get("thinker", "")
134-
answer = await self.generator.ainvoke(query + "\n" + think_response, context, **kwargs)
134+
answer = await self.generator.ainvoke(
135+
query + "\n" + think_response, context, **kwargs
136+
)
135137
else:
136138
for task in tasks:
137139
context.add_task(task)

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ json_repair
4545
gitpython
4646
docstring_parser
4747
aiolimiter
48+
pyarrow==19.0.1
4849
pyodps==0.12.2
4950
aliyun-log-python-sdk==0.8.8
5051
pyvis

0 commit comments

Comments
 (0)