We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a19f3c commit b7ab87aCopy full SHA for b7ab87a
1 file changed
src/config.rs
@@ -315,7 +315,7 @@ mod tests {
315
assert!(valid_cfg.as_ref().unwrap().models[0].weight == -1);
316
317
let mut valid_specified_cfg = Config::builder()
318
- .provider("DEEPINFRA".to_string())
+ .provider("AMRS".to_string())
319
.base_url("http://custom-api.ai".to_string())
320
.model(
321
ModelConfig::builder()
@@ -327,7 +327,7 @@ mod tests {
327
valid_specified_cfg.as_mut().unwrap().populate();
328
329
assert!(valid_specified_cfg.is_ok());
330
- assert!(valid_specified_cfg.as_ref().unwrap().provider == "DEEPINFRA".to_string());
+ assert!(valid_specified_cfg.as_ref().unwrap().provider == "AMRS".to_string());
331
assert!(
332
valid_specified_cfg.as_ref().unwrap().models[0].base_url
333
== Some("http://custom-api.ai".to_string())
0 commit comments