We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e88320d commit 6016f10Copy full SHA for 6016f10
1 file changed
veadk/tools/builtin_tools/vesearch.py
@@ -30,9 +30,9 @@ def vesearch(query: str) -> str:
30
bot_id = str(getenv("TOOL_VESEARCH_ENDPOINT"))
31
32
if api_key == "":
33
- return "Invoke `vesearch` failed. Please set VESEARCH_API_KEY as your environment variable."
+ return "Invoke `vesearch` failed. Please set TOOL_VESEARCH_API_KEY as your environment variable."
34
if bot_id == "":
35
- return "Invoke `vesearch` failed. Please set VESEARCH_BOT_ID as your environment variable."
+ return "Invoke `vesearch` failed. Please set TOOL_VESEARCH_ENDPOINT as your environment variable."
36
37
URL = "https://open.feedcoopapi.com/agent_api/agent/chat/completion"
38
headers = {"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"}
0 commit comments