refactor(session): yield instance context in system prompt (#25207)

This commit is contained in:
Kit Langton
2026-04-30 21:45:48 -04:00
committed by GitHub
parent c2a97a7a6c
commit 5984d917dc
2 changed files with 9 additions and 9 deletions

View File

@@ -1443,7 +1443,7 @@ NOTE: At any point in time through this workflow you should feel free to ask the
const [skills, env, instructions, modelMsgs] = yield* Effect.all([
sys.skills(agent),
Effect.sync(() => sys.environment(model)),
sys.environment(model),
instruction.system().pipe(Effect.orDie),
MessageV2.toModelMessagesEffect(msgs, model),
])