feat: v1 — persistent shell, model gateway, artifact improvements (#1462)

This commit is contained in:
dancer 2026-03-20 09:37:02 +00:00 committed by GitHub
parent 3651670fb9
commit f9652b452a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
161 changed files with 5166 additions and 8009 deletions

View file

@ -2,7 +2,7 @@
import type { UseChatHelpers } from "@ai-sdk/react";
import { useEffect } from "react";
import { useDataStream } from "@/components/data-stream-provider";
import { useDataStream } from "@/components/chat/data-stream-provider";
import type { ChatMessage } from "@/lib/types";
export type UseAutoResumeParams = {
@ -30,9 +30,6 @@ export function useAutoResume({
if (mostRecentMessage?.role === "user") {
resumeStream();
}
// we intentionally run this once
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [autoResume, initialMessages.at, resumeStream]);
useEffect(() => {