Skip to content

Commit a0dd833

Browse files
Fix semantic search creation in fetch tools
1 parent 3d6000f commit a0dd833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackone_ai/toolset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ def fetch_tools(
629629
if actions:
630630
all_tools = [tool for tool in all_tools if self._filter_by_action(tool.name, actions)]
631631

632-
return Tools(all_tools, _semantic_client=self.semantic_client)
632+
return Tools(all_tools, _semantic_client=self._semantic_client)
633633

634634
except ToolsetError:
635635
raise

0 commit comments

Comments
 (0)