mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-05 04:17:32 +00:00
stack configure fixes
This commit is contained in:
parent
66cbf7b292
commit
95a7f225cf
2 changed files with 24 additions and 8 deletions
|
@ -69,7 +69,9 @@ class MetaReferenceAgentsImpl(Agents):
|
|||
elif tool_defn.engine == SearchEngineType.bing:
|
||||
key = self.config.bing_search_api_key
|
||||
if not key:
|
||||
raise ValueError("API key not defined in config")
|
||||
raise ValueError(
|
||||
"Search (Brave or Bing) API key not defined in config"
|
||||
)
|
||||
tool = SearchTool(tool_defn.engine, key)
|
||||
elif isinstance(tool_defn, CodeInterpreterToolDefinition):
|
||||
tool = CodeInterpreterTool()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue