mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-03 17:29:01 +00:00
fix provider lookup
This commit is contained in:
parent
0eb89bcb07
commit
0677d91699
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ async def agents_stack(request, inference_model, safety_shield):
|
|||
provider_id = inference_provider.provider_id
|
||||
if inference_provider.config and "model" in inference_provider.config:
|
||||
model_to_provider_id = {
|
||||
provider.config.model: provider.provider_id
|
||||
provider.config["model"]: provider.provider_id
|
||||
for provider in providers["inference"]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue