mirror of
https://github.com/kennethnym/aris.git
synced 2026-04-14 13:51:18 +01:00
fix: disable strict mode for enhancement JSON schema (#99)
strict: true requires all property names to be known upfront, which is incompatible with the dynamic-key maps in slotFills. Also replace type array with anyOf for nullable slot values.
This commit is contained in:
@@ -46,7 +46,7 @@ export function createLlmClient(config: LlmClientConfig): LlmClient {
|
||||
type: "json_schema" as const,
|
||||
jsonSchema: {
|
||||
name: "enhancement_result",
|
||||
strict: true,
|
||||
strict: false,
|
||||
schema: enhancementResultJsonSchema,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user