fix: truncated object issue in distilled schema parse (#111)

This commit is contained in:
Sha Zhou 2025-06-05 10:42:39 +08:00 committed by GitHub
parent f1ef6c5cd0
commit aeb524625e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -196,7 +196,6 @@ export class ObjectGeneratorSafe {
model: getModel('fallback'),
schema: distilledSchema,
prompt: `Following the given JSON schema, extract the field from below: \n\n ${failedOutput}`,
maxTokens: getToolConfig('fallback').maxTokens,
temperature: getToolConfig('fallback').temperature,
});