mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-03 01:03:59 +00:00
add comment
This commit is contained in:
parent
2472327512
commit
5c6f7b6535
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ async def agents_stack(request, inference_model, safety_shield):
|
|||
# NOTE: meta-reference provider needs 1 provider per model, lookup provider_id from provider config
|
||||
model_to_provider_id = {}
|
||||
for provider in providers["inference"]:
|
||||
if provider.config and "model" in provider.config:
|
||||
if "model" in provider.config:
|
||||
model_to_provider_id[provider.config["model"]] = provider.provider_id
|
||||
|
||||
models = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue