We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 951d6b1 commit 882426bCopy full SHA for 882426b
packages/opencode/src/session/llm.ts
@@ -74,8 +74,8 @@ export namespace LLM {
74
...(input.agent.prompt ? [input.agent.prompt] : isCodex ? [] : SystemPrompt.provider(input.model)),
75
// any custom prompt passed into this call
76
...input.system,
77
- // any custom prompt from last user message
78
- ...(input.user.system ? [input.user.system] : []),
+ // any custom prompt from last user message (skip for title agent)
+ ...(input.user.system && input.agent.name !== "title" ? [input.user.system] : []),
79
]
80
.filter((x) => x)
81
.join("\n"),
0 commit comments