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 5682a37 commit 8753070Copy full SHA for 8753070
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