skills: skill tool, YAML frontmatter, disable-model-invocation, argument-hint
This commit is contained in:
1 parent
7e29515821
commit
199f337662
12 files changed
+328
-121
No files matched your search
@@ -228,7 +228,7 @@ impl Sub {
|
||||
|
||||
/// Tools of a read-only child. ponytail: `bash` can still write; the prompt forbids it. Drop
|
||||
/// `bash` for a search/grep tool if models ignore that.
|
||||
pub const EXPLORE_TOOLS: &[&str] = &["read", "lsp", "bash"];
|
||||
pub const EXPLORE_TOOLS: &[&str] = &["read", "lsp", "bash", "skill"];
|
||||
pub const EXPLORE_PROMPT: &str = "You are a research subagent of hx. Answer the task by reading code; do not modify anything (no writes, no redirects, no installs). Your final message is the only thing the caller sees: give the answer with file:line references, short, no preamble.";
|
||||
pub const GENERAL_PROMPT: &str = "You are a subagent of hx working in the user's repository. Do the task fully with the tools; read files before editing them. Your final message is the only thing the caller sees: say what you changed or found, short, with file paths.";
|
||||
const MAX_RESULT: usize = 8_000;
|
||||
|
||||
Reference in new issue
Block a user