refactor(session): yield instance context in system prompt (#25207)
This commit is contained in:
@@ -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),
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user