Improve chat navigation, model selection, and streaming

This commit is contained in:
Rami Bitar
2026-09-16 13:14:55 -04:00
parent 8790cfb1e2
commit dd04493e25
73 changed files with 1272 additions and 1367 deletions
+9 -14
View File
@@ -1,20 +1,18 @@
{
"name": "nextjs-app",
"name": "nextjs-chatgpt-template",
"type": "module",
"private": true,
"scripts": {
"dev": "next dev --webpack",
"build": "next build --webpack",
"start": "next start",
"typecheck": "tsc --noEmit"
"typecheck": "tsc --noEmit",
"test": "node --test tests/*.test.mjs"
},
"version": "0.0.0",
"dependencies": {
"@ai-sdk/openai": "^4.0.9",
"@ai-sdk/react": "^4.0.19",
"@base-ui/react": "^1.8.0",
"@mendable/firecrawl-js": "^4.12.1",
"@neondatabase/serverless": "^1.0.2",
"@next/swc-wasm-web": "16.2.10",
"@openrouter/ai-sdk-provider": "^3.0.0",
"@radix-ui/react-accordion": "^1.2.3",
@@ -44,6 +42,7 @@
"@radix-ui/react-toggle": "^1.1.2",
"@radix-ui/react-toggle-group": "^1.1.2",
"@radix-ui/react-tooltip": "^1.1.8",
"@radix-ui/react-use-controllable-state": "^1.2.6",
"@remixicon/react": "^4.9.0",
"@xyflow/react": "^12.10.0",
"ai": "^7.0.18",
@@ -51,25 +50,17 @@
"clsx": "^2.1.1",
"cmdk": "^1.0.4",
"date-fns": "^4.1.0",
"drizzle-orm": "^0.45.1",
"embla-carousel-react": "^8.5.2",
"exa-js": "^2.4.0",
"framer-motion": "^12.0.0",
"gql-tag": "^1.0.1",
"input-otp": "^1.4.2",
"lucide-react": "^0.574.0",
"motion": "^12.33.0",
"nanoid": "^5.1.6",
"next": "16.2.10",
"next-themes": "^0.4.6",
"openai": "^6.17.0",
"radix-ui": "^1.4.3",
"react": "^19.0.0",
"react-day-picker": "^9.5.0",
"react-dom": "^19.0.0",
"react-hook-form": "^7.88.0",
"react-is": "^19.3.0",
"react-markdown": "^10.1.0",
"react-resizable-panels": "^4.5.8",
"recharts": "^3.7.0",
"shiki": "^3.22.0",
@@ -89,7 +80,11 @@
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/react-is": "^19",
"jiti": "^2.7.0",
"typescript": "^5.7.3"
},
"packageManager": "yarn@4.18.0+sha512.fcb8716fe7cd0eece141ffc18b92193a9df9204c1ba83189c288835223fc0bbe64af473bab0d5e9927a7daeb5caf2bb07eb2787cc9338ca040ea125f2a1f2f7e"
"packageManager": "yarn@4.18.0+sha512.fcb8716fe7cd0eece141ffc18b92193a9df9204c1ba83189c288835223fc0bbe64af473bab0d5e9927a7daeb5caf2bb07eb2787cc9338ca040ea125f2a1f2f7e",
"engines": {
"node": ">=22"
}
}