feat: add stream support

This commit is contained in:
Yidadaa
2023-03-11 20:54:24 +08:00
parent 4f10b9a60f
commit 74dd6194d8
8 changed files with 570 additions and 23 deletions

View File

@@ -13,13 +13,17 @@
"@types/node": "^18.14.6",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/react-katex": "^3.0.0",
"eslint": "8.35.0",
"eslint-config-next": "13.2.3",
"eventsource-parser": "^0.1.0",
"next": "^13.2.3",
"openai": "^3.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^8.0.5",
"rehype-katex": "^6.0.2",
"remark-math": "^5.1.1",
"typescript": "4.9.5",
"zustand": "^4.3.6"
}