chore: generate

This commit is contained in:
opencode-agent[bot]
2026-08-14 23:41:12 +00:00
parent 8640ea3374
commit 1580e7cc3a
+1 -3
View File
@@ -191,9 +191,7 @@ export const layer = Layer.effect(
// preserving their prompt cache prefix. Calls are still rejected at execution.
const tools = input.context.tools
const system = [
agent.info.system
? agent.info.system
: SessionSystemPrompt.make(tools.definitions.map((tool) => tool.name)),
agent.info.system ? agent.info.system : SessionSystemPrompt.make(tools.definitions.map((tool) => tool.name)),
input.context.initial,
]
.filter((part) => part.length > 0)