mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-29 19:34:32 +00:00
upgrade ai sdk
This commit is contained in:
parent
a6dc75a44c
commit
bcf952bc8a
3 changed files with 5 additions and 5 deletions
|
|
@ -15,7 +15,7 @@ import PROMPT_TITLE from "./prompt/title.txt"
|
|||
export namespace SystemPrompt {
|
||||
export function provider(providerID: string, modelID: string) {
|
||||
if (providerID === "anthropic") return [PROMPT_ANTHROPIC_SPOOF.trim(), PROMPT_ANTHROPIC]
|
||||
if (modelID.includes("gpt-")) return [PROMPT_BEAST]
|
||||
if (modelID.includes("gpt-") || modelID.includes("o1") || modelID.includes("o3")) return [PROMPT_BEAST]
|
||||
return [PROMPT_ANTHROPIC]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue