We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ec0ac9 commit 60017a8Copy full SHA for 60017a8
1 file changed
index.ts
@@ -538,17 +538,15 @@ export default class I18nPlugin extends AdminForthPlugin {
538
// call OpenAI
539
const resp = await this.options.completeAdapter.complete(
540
prompt,
541
- [],
542
prompt.length * 2,
543
{
544
- json_schema: {
545
name: "translation_response",
546
schema: {
547
type: "object",
548
properties: jsonSchemaProperties,
549
required: dedupRequired,
+ additionalProperties: false,
550
},
551
- },
552
}
553
);
554
0 commit comments