summaryrefslogtreecommitdiffstats
path: root/tests/cli.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/cli.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/cli.rs')
-rw-r--r--tests/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cli.rs b/tests/cli.rs
index 72edbd1..37546b1 100644
--- a/tests/cli.rs
+++ b/tests/cli.rs
@@ -92,7 +92,7 @@ fn yolo_is_refused_in_the_home_directory() {
92 assert_eq!(output.status.code(), Some(2), "{output:?}"); 92 assert_eq!(output.status.code(), Some(2), "{output:?}");
93 let stderr = String::from_utf8_lossy(&output.stderr); 93 let stderr = String::from_utf8_lossy(&output.stderr);
94 assert!(stderr.contains("refusing --yolo"), "{stderr}"); 94 assert!(stderr.contains("refusing --yolo"), "{stderr}");
95 assert!(stderr.contains("AGENT686_ALLOW_HOME"), "{stderr}"); 95 assert!(stderr.contains("allow_home"), "{stderr}");
96} 96}
97 97
98#[test] 98#[test]