mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 04:32:25 +00:00
Add X-LlamaStack-Client-Version, rename ProviderData -> Provider-Data
This commit is contained in:
parent
a5c57cd381
commit
9b45a2f0a0
13 changed files with 1281 additions and 152 deletions
|
|
@ -45,7 +45,7 @@ class BraveSearchToolRuntimeImpl(
|
|||
provider_data = self.get_request_provider_data()
|
||||
if provider_data is None or not provider_data.api_key:
|
||||
raise ValueError(
|
||||
'Pass Search provider\'s API Key in the header X-LlamaStack-ProviderData as { "api_key": <your api key>}'
|
||||
'Pass Search provider\'s API Key in the header X-LlamaStack-Provider-Data as { "api_key": <your api key>}'
|
||||
)
|
||||
return provider_data.api_key
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue