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

View File

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