From 4d5b584e39cf90a4afaab8af46be2f69dcd914b6 Mon Sep 17 00:00:00 2001 From: salmonik Date: Thu, 19 Nov 2026 11:30:47 +0100 Subject: 0.12.0: provider is a type + URL, plus a config file - --provider opencode|openai-compatible; opencode keeps the session header, openai-compatible needs a base URL and sends none - config file at ~/.config/agent686/config.toml (provider, url, model, flags) - fix the doubled-dash --provider help message --- tests/mock.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/mock.rs') diff --git a/tests/mock.rs b/tests/mock.rs index fdbaca4..3b2abdd 100644 --- a/tests/mock.rs +++ b/tests/mock.rs @@ -76,6 +76,9 @@ fn config(base_url: String) -> Config { yolo: true, lenient: false, system_ca: false, + provider: agent686::config::Provider::OpenCode, + allow_home: false, + allow_nogit: false, } } -- cgit v1.2.3