Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

test(host): give the profile test a workspace that exists on Windows

leepokaif0578fe40fc7
diff --git a/host/src/chat/profile.rs b/host/src/chat/profile.rs
index 889d7920..ab70054f 100644
--- a/host/src/chat/profile.rs
+++ b/host/src/chat/profile.rs
@@ -80,7 +80,7 @@ mod tests {
std::fs::create_dir_all(&dir).unwrap();
let store = Store::open(std::path::Path::new(":memory:")).unwrap();
let cfg: BotConfig = serde_json::from_value(
- json!({"id": "a", "name": "New Bot", "autoName": true, "backend": "claude", "cwd": "/tmp"}),
+ json!({"id": "a", "name": "New Bot", "autoName": true, "backend": "claude", "cwd": dir.to_string_lossy()}),
)
.unwrap();
store.save_bot(&cfg).unwrap();