AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(frontend/copilot): prevent resumeStream() call with uninitialized useChat state (#13766)
seer-by-sentry[bot]2254aa810424
diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/useCopilotStream.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/useCopilotStream.tsindex b0be7988a5..ef632aab28 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/useCopilotStream.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/useCopilotStream.ts@@ -301,6 +301,7 @@ export function useCopilotStream({}function resumeStreamFromStart() {+ if (!chatRuntime) return;if (sessionId) {markCopilotChatRuntimeHealthy(sessionId);}