@@ -194,7 +194,7 @@ export async function reconcileFormatWithTemplate(
194194) : Promise < { type : 'document' ; content : Record < string , unknown > [ ] } > {
195195 try {
196196 const { object } = await generateObject ( {
197- model : openai ( 'gpt-5-mini ' ) ,
197+ model : openai ( 'gpt-5-nano ' ) ,
198198 mode : 'json' ,
199199 system : `You are an expert policy editor.
200200Given an ORIGINAL policy TipTap JSON and a DRAFT TipTap JSON, produce a FINAL TipTap JSON that:
@@ -232,7 +232,7 @@ export async function aiCheckFormatWithTemplate(
232232) : Promise < { isConforming : boolean ; reasons : string [ ] } > {
233233 try {
234234 const { object } = await generateObject ( {
235- model : openai ( 'gpt-5-mini ' ) ,
235+ model : openai ( 'gpt-5-nano ' ) ,
236236 mode : 'json' ,
237237 system : `You are validating policy layout.
238238Compare ORIGINAL vs DRAFT (TipTap JSON). Determine if DRAFT conforms to ORIGINAL format:
@@ -457,7 +457,7 @@ export async function generatePolicyContent(prompt: string): Promise<{
457457} > {
458458 try {
459459 const { object } = await generateObject ( {
460- model : openai ( 'gpt-5-mini ' ) ,
460+ model : openai ( 'gpt-5-nano ' ) ,
461461 mode : 'json' ,
462462 system : `You are an expert at writing security policies. Generate content directly as TipTap JSON format.
463463
0 commit comments