feat: OpenAI-kompatibler Modell-Client für strata
Backend in config.toml wählbar (ollama oder openai), Standard-URL für strata im LAN (192.168.12.4:8082). Nachrichten werden ins OpenAI-Format umgeschrieben, Tool-Antworten bekommen die passende tool_call_id. Test für die Umwandlung grün (42 Unit-Tests). Verbindung zu strata noch nicht möglich: alle drei Adressen lehnen ab. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -73,7 +73,8 @@ async fn start_batch(
|
||||
let jobs = runner::plan(&models, &selected, repeats);
|
||||
let run_cfg = RunConfig {
|
||||
runtime: cfg.container_runtime.clone(),
|
||||
endpoint_url: cfg.ollama_url.clone(),
|
||||
backend: cfg.backend.clone(),
|
||||
endpoint_url: cfg.endpoint_url(),
|
||||
data_dir: paths.0.data_dir.clone(),
|
||||
limits: cfg.sandbox_limits(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user