mirror of
https://github.com/katanemo/plano.git
synced 2026-06-29 15:49:40 +02:00
fixed bugs for integration tests
This commit is contained in:
parent
9f3a6f71a3
commit
7345657612
8 changed files with 82 additions and 80 deletions
|
|
@ -33,6 +33,8 @@ pub fn get_llm_provider(
|
|||
return provider;
|
||||
}
|
||||
|
||||
//This is a fallback to the default provider if no specific provider is found.
|
||||
//For example, if the client sends in gpt-4-1 and that's not configured in arch_config, we fall back to the default.
|
||||
if llm_providers.default().is_some() {
|
||||
return llm_providers.default().unwrap();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue