Skip to content

Commit

Permalink
Fix incorrect variable name in RetrieverTool (#16242)
Browse files Browse the repository at this point in the history
  • Loading branch information
GICodeWarrior authored Sep 27, 2024
1 parent 4559632 commit 746bdce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llama-index-core/llama_index/core/tools/retriever_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def call(self, *args: Any, **kwargs: Any) -> ToolOutput:
return ToolOutput(
content=content,
tool_name=self.metadata.name,
raw_input={"input": input},
raw_input={"input": query_str},
raw_output=docs,
)

Expand All @@ -112,7 +112,7 @@ async def acall(self, *args: Any, **kwargs: Any) -> ToolOutput:
return ToolOutput(
content=content,
tool_name=self.metadata.name,
raw_input={"input": input},
raw_input={"input": query_str},
raw_output=docs,
)

Expand Down

0 comments on commit 746bdce

Please sign in to comment.