feat: redesign document-review skill with persona-based review (#359)
This commit is contained in:
@@ -53,7 +53,7 @@ function convertAgent(agent: ClaudeAgent, usedNames: Set<string>): CopilotAgent
|
||||
infer: true,
|
||||
}
|
||||
|
||||
if (agent.model) {
|
||||
if (agent.model && agent.model !== "inherit") {
|
||||
frontmatter.model = agent.model
|
||||
}
|
||||
|
||||
|
||||
@@ -75,7 +75,10 @@ function convertAgent(agent: ClaudeAgent): DroidAgentFile {
|
||||
const frontmatter: Record<string, unknown> = {
|
||||
name,
|
||||
description: agent.description,
|
||||
model: agent.model && agent.model !== "inherit" ? agent.model : "inherit",
|
||||
}
|
||||
|
||||
if (agent.model && agent.model !== "inherit") {
|
||||
frontmatter.model = agent.model
|
||||
}
|
||||
|
||||
const tools = mapAgentTools(agent)
|
||||
|
||||
@@ -264,7 +264,7 @@ function rewriteClaudePaths(body: string): string {
|
||||
// Update these when new model generations are released.
|
||||
const CLAUDE_FAMILY_ALIASES: Record<string, string> = {
|
||||
haiku: "claude-haiku-4-5",
|
||||
sonnet: "claude-sonnet-4-5",
|
||||
sonnet: "claude-sonnet-4-6",
|
||||
opus: "claude-opus-4-6",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user