llm-model-config完了

This commit is contained in:
2026-04-20 00:57:27 +09:00
parent 230936274b
commit 5aea67ff5e
19 changed files with 147 additions and 270 deletions
+2
View File
@@ -361,6 +361,7 @@ fn build_overlay_toml(
base_url: model.base_url.clone(),
model_id: Some(model.model_id.clone()),
auth: Some(model.auth.clone()),
capability: model.capability.clone(),
},
worker: WorkerManifestConfig {
instruction: Some(instruction.to_string()),
@@ -494,6 +495,7 @@ mod tests {
env: None,
file: Some(PathBuf::from("/etc/keys/anthropic")),
},
capability: None,
};
let toml_str = build_overlay_toml("child", "$insomnia/default", &[], &model).unwrap();
+1
View File
@@ -141,6 +141,7 @@ fn dummy_model() -> ModelConfig {
base_url: None,
model_id: "claude-test".into(),
auth: AuthRef::None,
capability: None,
}
}