summaryrefslogtreecommitdiffstats
path: root/tests/mock.rs
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-19 11:30:47 +0100
committersalmonik <salmonik@tuta.io>2026-11-19 11:30:47 +0100
commit4d5b584e39cf90a4afaab8af46be2f69dcd914b6 (patch)
tree567bd18d2c7ea52129aaca6d3af0e8e8e0e84802 /tests/mock.rs
parentdocs: refresh KNOWN-ISSUES for 0.11.0; note the yolo git gate (diff)
downloadagent686-4d5b584e39cf90a4afaab8af46be2f69dcd914b6.tar.gz
agent686-4d5b584e39cf90a4afaab8af46be2f69dcd914b6.zip
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
Diffstat (limited to 'tests/mock.rs')
-rw-r--r--tests/mock.rs3
1 files changed, 3 insertions, 0 deletions
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 {
76 yolo: true, 76 yolo: true,
77 lenient: false, 77 lenient: false,
78 system_ca: false, 78 system_ca: false,
79 provider: agent686::config::Provider::OpenCode,
80 allow_home: false,
81 allow_nogit: false,
79 } 82 }
80} 83}
81 84