chore: proper escaping, see #24300, second try

This commit is contained in:
Michael Geers 2025-10-14 09:19:29 +02:00
parent 90ce7ccb71
commit c53ea38280

View file

@ -15,18 +15,14 @@ messages:
model: openai/gpt-4o-mini
responseFormat: json_schema
jsonSchema: |-
{
"name": "language_check",
"strict": true,
"schema": {
"type": "object",
"properties": {
"is_non_english": {
"type": "boolean"
}
},
"required": ["is_non_english"],
"additionalProperties": false
}
}
jsonSchema:
name: language_check
strict: true
schema:
type: object
properties:
is_non_english:
type: boolean
required:
- is_non_english
additionalProperties: false