File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
veadk/tools/builtin_tools Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ def vesearch(query: str) -> str:
3030 bot_id = str (getenv ("TOOL_VESEARCH_ENDPOINT" ))
3131
3232 if api_key == "" :
33- return "Invoke `vesearch` failed. Please set VESEARCH_API_KEY as your environment variable."
33+ return "Invoke `vesearch` failed. Please set TOOL_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" }
You can’t perform that action at this time.
0 commit comments