Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions code-rs/core/prompt_coder.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ agent {
"task": "Implement JWT middleware (RS256) with key rotation and unit/integration tests. Preserve existing OAuth flows. Provide README usage snippet.",
"context": "Service: services/api (Rust Axum). Secrets via env. CI: `cargo test --all`.",
"files": ["services/api", "services/api/src", "services/api/Cargo.toml"],
"models": ["code-gpt-5.4","claude-sonnet-4.6","antigravity"], // Agent/model selectors; antigravity launches agy and uses Antigravity's configured model.
"models": ["code-gpt-5.4","claude-sonnet-4.6","antigravity"], // Agent/model selector slugs; external CLI selectors use that tool's configured model.
"output": "Middleware + passing tests + README snippet",
"write": true // Allow changes - will launch every agent in a separate worktree
}
}
agent {"action":"wait","wait":{"batch_id":"<batch_id>","return_all":true,"timeout_seconds":600}} // Long timeout or you can do separate work and check back later.

## Model Guide for `agent.create.models`
## Agent/Model Selector Guide for `agent.create.models`
{MODEL_DESCRIPTIONS}

# WARNING (using git)
Expand Down
2 changes: 1 addition & 1 deletion code-rs/core/src/agent_tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2443,7 +2443,7 @@ pub fn create_agent_tool(allowed_models: &[String]) -> OpenAiTool {
},
}),
description: Some(
"Optional array of agent/model selectors (e.g., ['code-gpt-5.5','code-gpt-5.4','claude-sonnet-4.6','antigravity']; antigravity launches agy and uses Antigravity's configured model)".to_string(),
"Optional array of agent/model selector slugs (e.g., ['code-gpt-5.5','claude-sonnet-4.6','antigravity']; external CLI selectors use that tool's configured model)".to_string(),
),
},
);
Expand Down