diff --git a/frontend/src/app/workspace/chats/[thread_id]/page.tsx b/frontend/src/app/workspace/chats/[thread_id]/page.tsx index f4cb932..32c038a 100644 --- a/frontend/src/app/workspace/chats/[thread_id]/page.tsx +++ b/frontend/src/app/workspace/chats/[thread_id]/page.tsx @@ -119,8 +119,8 @@ export default function ChatPage() { 0 ? 46 : 100} + minSize={artifactsOpen && artifacts?.length > 0 ? 30 : 100} >
0 && + "pointer-events-none opacity-0", )} /> 0 ? 64 : 0} minSize={0} - maxSize={artifactsOpen ? undefined : 0} + maxSize={artifactsOpen && artifacts?.length > 0 ? undefined : 0} >
0 + ? "translate-x-0" + : "translate-x-full", )} > {selectedArtifact ? ( diff --git a/frontend/src/core/threads/hooks.ts b/frontend/src/core/threads/hooks.ts index 896c412..aa98a72 100644 --- a/frontend/src/core/threads/hooks.ts +++ b/frontend/src/core/threads/hooks.ts @@ -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,