File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -978,18 +978,14 @@ def search_action_names(
978978 # Lightweight: inspect results before fetching
979979 results = toolset.search_action_names("manage employees")
980980 for r in results:
981- print(f"{r.action_name }: {r.similarity_score:.2f}")
981+ print(f"{r.id }: {r.similarity_score:.2f}")
982982
983983 # Account-scoped: only results for connectors in linked accounts
984984 results = toolset.search_action_names(
985985 "create employee",
986986 account_ids=["acc-123"],
987987 top_k=5
988988 )
989-
990- # Then fetch specific high-scoring actions
991- selected = [r.action_name for r in results if r.similarity_score > 0.7]
992- tools = toolset.fetch_tools(actions=selected)
993989 """
994990 if self ._search_config is None :
995991 raise ToolsetConfigError (
You can’t perform that action at this time.
0 commit comments