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): select Python for connector fixtures (#139)

Sean Ferguson69c457def34e
diff --git a/host/src/market/requests.rs b/host/src/market/requests.rs
index 2f988ef4..cecf469a 100644
--- a/host/src/market/requests.rs
+++ b/host/src/market/requests.rs
@@ -338,7 +338,8 @@ mod tests {
let agent = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("tests/fixtures/team_agent.py");
let cfg: BotConfig = serde_json::from_value(json!({"id":"bot","name":"bot","backend":"fixture","cwd":dir,"command":crate::shell::python(&agent),"notify":false})).unwrap();
store.save_bot(&cfg).unwrap();
- let c: super::super::Connector = serde_json::from_value(json!({"id":"fixture","name":"Fixture","command":"python3","args":[PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("tests/fixtures/credential_mcp.py")]})).unwrap();
+ let python = if cfg!(windows) { "python" } else { "python3" };
+ let c: super::super::Connector = serde_json::from_value(json!({"id":"fixture","name":"Fixture","command":python,"args":[PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("tests/fixtures/credential_mcp.py")]})).unwrap();
super::super::save_connectors(&store, &[c]).unwrap();
let hub = Hub::new(
store,