We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29f538a commit 1b0db8fCopy full SHA for 1b0db8f
tools/server/public/index.html.gz
-11 Bytes
tools/server/webui/src/utils/app.context.tsx
@@ -255,7 +255,7 @@ export const AppContextProvider = ({
255
if (chunk.error) {
256
throw new Error(chunk.error?.message || 'Unknown error');
257
}
258
- const addedContent = chunk.choices[0].delta.content;
+ const addedContent = chunk.choices[0]?.delta.content;
259
const lastContent = pendingMsg.content || '';
260
if (addedContent) {
261
pendingMsg = {
0 commit comments