We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b885f5 commit 2b1a5b1Copy full SHA for 2b1a5b1
1 file changed
packages/opencode/src/session/llm.ts
@@ -160,8 +160,8 @@ export namespace LLM {
160
const system: string[] = []
161
system.push(
162
[
163
- // use agent prompt otherwise provider prompt
164
- ...(input.agent.prompt ? [input.agent.prompt] : SystemPrompt.provider(model)),
+ // use agent prompt if set
+ ...(input.agent.prompt ? [input.agent.prompt] : []),
165
// any custom prompt passed into this call
166
...input.system,
167
// any custom prompt from last user message
0 commit comments