tweak: adjust order of system prompt instructions: Global, Project, Skills (#24974)
This commit is contained in:
@@ -1445,7 +1445,7 @@ NOTE: At any point in time through this workflow you should feel free to ask the
|
||||
instruction.system().pipe(Effect.orDie),
|
||||
MessageV2.toModelMessagesEffect(msgs, model),
|
||||
])
|
||||
const system = [...env, ...(skills ? [skills] : []), ...instructions]
|
||||
const system = [...env, ...instructions, ...(skills ? [skills] : [])]
|
||||
const format = lastUser.format ?? { type: "text" as const }
|
||||
if (format.type === "json_schema") system.push(STRUCTURED_OUTPUT_SYSTEM_PROMPT)
|
||||
const result = yield* handle.process({
|
||||
|
||||
Reference in New Issue
Block a user