mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 07:29:35 +08:00
fix: truncated object issue in distilled schema parse (#111)
This commit is contained in:
@@ -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,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user