mirror of
https://github.com/katanemo/plano.git
synced 2026-06-29 15:49:40 +02:00
add support for model_providers
This commit is contained in:
parent
2cebc0c85f
commit
92a8782332
10 changed files with 183 additions and 93 deletions
|
|
@ -74,7 +74,7 @@ impl RootContext for FilterContext {
|
|||
ratelimit::ratelimits(Some(config.ratelimits.unwrap_or_default()));
|
||||
self.overrides = Rc::new(config.overrides);
|
||||
|
||||
match config.llm_providers.try_into() {
|
||||
match config.model_providers.try_into() {
|
||||
Ok(llm_providers) => self.llm_providers = Some(Rc::new(llm_providers)),
|
||||
Err(err) => panic!("{err}"),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue