fix: fix artifacts in demo mode

This commit is contained in:
Henry Li
2026-01-25 11:42:25 +08:00
parent 74dd09b364
commit c82f705541
2 changed files with 15 additions and 8 deletions

View File

@@ -90,7 +90,10 @@ export function useSubmitThread({
type: fileUIPart.mediaType || blob.type,
});
} catch (error) {
console.error(`Failed to fetch file ${fileUIPart.filename}:`, error);
console.error(
`Failed to fetch file ${fileUIPart.filename}:`,
error,
);
return null;
}
}
@@ -130,7 +133,7 @@ export function useSubmitThread({
streamSubgraphs: true,
streamResumable: true,
config: {
recursion_limit: 100,
recursion_limit: 1000,
},
context: {
...threadContext,