diff --git a/tools/server/public/index.html.gz b/tools/server/public/index.html.gz index fad36ed339..0e3e1f9834 100644 Binary files a/tools/server/public/index.html.gz and b/tools/server/public/index.html.gz differ diff --git a/tools/server/webui/src/utils/app.context.tsx b/tools/server/webui/src/utils/app.context.tsx index 0b95e88f89..1860ecc721 100644 --- a/tools/server/webui/src/utils/app.context.tsx +++ b/tools/server/webui/src/utils/app.context.tsx @@ -255,7 +255,7 @@ export const AppContextProvider = ({ if (chunk.error) { throw new Error(chunk.error?.message || 'Unknown error'); } - const addedContent = chunk.choices[0].delta.content; + const addedContent = chunk.choices[0]?.delta.content; const lastContent = pendingMsg.content || ''; if (addedContent) { pendingMsg = {