mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Merge branch 'main' into openrouter-sonnet-opus-4
This commit is contained in:
commit
632982c390
4 changed files with 18 additions and 21 deletions
5
.changeset/sweet-turtles-wink.md
Normal file
5
.changeset/sweet-turtles-wink.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"roo-cline": patch
|
||||
---
|
||||
|
||||
Fix OpenRouter names
|
||||
|
|
@ -7,7 +7,7 @@ exports[`SYSTEM_PROMPT should exclude diff strategy tool description when diffEn
|
|||
|
||||
MARKDOWN RULES
|
||||
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reterence as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reference as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
|
||||
====
|
||||
|
||||
|
|
@ -480,7 +480,7 @@ exports[`SYSTEM_PROMPT should exclude diff strategy tool description when diffEn
|
|||
|
||||
MARKDOWN RULES
|
||||
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reterence as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reference as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
|
||||
====
|
||||
|
||||
|
|
@ -953,7 +953,7 @@ exports[`SYSTEM_PROMPT should explicitly handle undefined mcpHub 1`] = `
|
|||
|
||||
MARKDOWN RULES
|
||||
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reterence as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reference as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
|
||||
====
|
||||
|
||||
|
|
@ -1426,7 +1426,7 @@ exports[`SYSTEM_PROMPT should handle different browser viewport sizes 1`] = `
|
|||
|
||||
MARKDOWN RULES
|
||||
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reterence as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reference as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
|
||||
====
|
||||
|
||||
|
|
@ -1955,7 +1955,7 @@ exports[`SYSTEM_PROMPT should include MCP server info when mcpHub is provided 1`
|
|||
|
||||
MARKDOWN RULES
|
||||
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reterence as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reference as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
|
||||
====
|
||||
|
||||
|
|
@ -2496,7 +2496,7 @@ exports[`SYSTEM_PROMPT should include browser actions when supportsComputerUse i
|
|||
|
||||
MARKDOWN RULES
|
||||
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reterence as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reference as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
|
||||
====
|
||||
|
||||
|
|
@ -3025,7 +3025,7 @@ exports[`SYSTEM_PROMPT should include diff strategy tool description when diffEn
|
|||
|
||||
MARKDOWN RULES
|
||||
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reterence as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reference as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
|
||||
====
|
||||
|
||||
|
|
@ -3588,7 +3588,7 @@ exports[`SYSTEM_PROMPT should maintain consistent system prompt 1`] = `
|
|||
|
||||
MARKDOWN RULES
|
||||
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reterence as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reference as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
|
||||
====
|
||||
|
||||
|
|
@ -4103,7 +4103,7 @@ exports[`addCustomInstructions should exclude MCP server creation info when disa
|
|||
|
||||
MARKDOWN RULES
|
||||
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reterence as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reference as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
|
||||
====
|
||||
|
||||
|
|
@ -4653,7 +4653,7 @@ exports[`addCustomInstructions should generate correct prompt for architect mode
|
|||
|
||||
MARKDOWN RULES
|
||||
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reterence as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reference as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
|
||||
====
|
||||
|
||||
|
|
@ -5117,7 +5117,7 @@ exports[`addCustomInstructions should generate correct prompt for ask mode 1`] =
|
|||
|
||||
MARKDOWN RULES
|
||||
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reterence as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reference as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
|
||||
====
|
||||
|
||||
|
|
@ -5498,7 +5498,7 @@ exports[`addCustomInstructions should include MCP server creation info when enab
|
|||
|
||||
MARKDOWN RULES
|
||||
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reterence as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reference as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>
|
||||
|
||||
====
|
||||
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@ export function markdownFormattingSection(): string {
|
|||
|
||||
MARKDOWN RULES
|
||||
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reterence as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>`
|
||||
ALL responses MUST show ANY \`language construct\` OR filename reference as clickable, exactly as [\`filename OR language.declaration()\`](relative/file/path.ext:line); line is required for \`syntax\` and optional for filename links. This applies to ALL markdown responses and ALSO those in <attempt_completion>`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1925,10 +1925,6 @@ export const PROMPT_CACHING_MODELS = new Set([
|
|||
"anthropic/claude-sonnet-4:thinking",
|
||||
"anthropic/claude-opus-4",
|
||||
"anthropic/claude-opus-4:thinking",
|
||||
"anthropic/claude-sonnet-4-20250514",
|
||||
"anthropic/claude-sonnet-4-20250514:thinking",
|
||||
"anthropic/claude-opus-4-20250514",
|
||||
"anthropic/claude-opus-4-20250514:thinking",
|
||||
"google/gemini-2.5-pro-preview",
|
||||
"google/gemini-2.5-flash-preview",
|
||||
"google/gemini-2.5-flash-preview:thinking",
|
||||
|
|
@ -1946,10 +1942,6 @@ export const COMPUTER_USE_MODELS = new Set([
|
|||
"anthropic/claude-3.7-sonnet",
|
||||
"anthropic/claude-3.7-sonnet:beta",
|
||||
"anthropic/claude-3.7-sonnet:thinking",
|
||||
"anthropic/claude-sonnet-4-20250514",
|
||||
"anthropic/claude-sonnet-4-20250514:thinking",
|
||||
"anthropic/claude-opus-4-20250514",
|
||||
"anthropic/claude-opus-4-20250514:thinking",
|
||||
"anthropic/claude-sonnet-4",
|
||||
"anthropic/claude-sonnet-4:thinking",
|
||||
"anthropic/claude-opus-4",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue