mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 07:39:38 +00:00
bug fix
This commit is contained in:
parent
ffb1b0f1dc
commit
01f134c046
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ def configure_api_providers(
|
||||||
provider_config = config.provider_map.get(api_str)
|
provider_config = config.provider_map.get(api_str)
|
||||||
if provider_config:
|
if provider_config:
|
||||||
existing = config_type(**provider_config.config)
|
existing = config_type(**provider_config.config)
|
||||||
|
else:
|
||||||
|
existing = None
|
||||||
except Exception:
|
except Exception:
|
||||||
existing = None
|
existing = None
|
||||||
cfg = prompt_for_config(config_type, existing)
|
cfg = prompt_for_config(config_type, existing)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue