Skip to content

Commit 2ede63c

Browse files
committed
fix vesearch reutrn value name
1 parent 0689449 commit 2ede63c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

veadk/tools/builtin_tools/vesearch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def vesearch(query: str) -> str:
3232
if api_key == "":
3333
return "Invoke `vesearch` failed. Please set VESEARCH_API_KEY as your environment variable."
3434
if bot_id == "":
35-
return "Invoke `vesearch` failed. Please set VESEARCH_BOT_ID as your environment variable."
35+
return "Invoke `vesearch` failed. Please set TOOL_VESEARCH_ENDPOINT as your environment variable."
3636

3737
URL = "https://open.feedcoopapi.com/agent_api/agent/chat/completion"
3838
headers = {"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"}

0 commit comments

Comments
 (0)