Skip to content

Instantly share code, notes, and snippets.

@tomtobac
Created June 26, 2023 08:52
Show Gist options
  • Save tomtobac/7187d35cc0b44b5944287b7f2fabf692 to your computer and use it in GitHub Desktop.
Save tomtobac/7187d35cc0b44b5944287b7f2fabf692 to your computer and use it in GitHub Desktop.
// POST 200
https://o1138084.ingest.sentry.io/api/4504722788057088/envelope/?sentry_key=af426976fa9e479da5b6a20e871cca1b&sentry_version=7&sentry_client=sentry.javascript.nextjs%2F7.37.2
// payload
{"event_id":"8f4598185d3f4968b93cddda9f20d07a","sent_at":"2023-06-26T08:44:41.980Z","sdk":{"name":"sentry.javascript.nextjs","version":"7.37.2"}}
{"type":"event"}
{"exception":{"values":[{"type":"Error","value":"test tomeu","stacktrace":{"frames":[{"filename":"webpack-internal:///./src/hooks.ts","function":"async readStreamChat","in_app":true,"lineno":102,"colno":5},{"filename":"webpack-internal:///../../packages/utils/utils/decode-stream.ts","function":"decodeStream","in_app":true,"lineno":44,"colno":24},{"filename":"webpack-internal:///./src/hooks.ts","function":"Object.onMessage","in_app":true,"lineno":106,"colno":23}]},"mechanism":{"type":"generic","handled":true}}]},"level":"error","event_id":"8f4598185d3f4968b93cddda9f20d07a","platform":"javascript","timestamp":1687769081.98,"environment":"development","release":"development","sdk":{"integrations":["InboundFilters","FunctionToString","TryCatch","Breadcrumbs","GlobalHandlers","LinkedErrors","Dedupe","HttpContext","RewriteFrames","BrowserTracing"],"name":"sentry.javascript.nextjs","version":"7.37.2","packages":[{"name":"npm:@sentry/nextjs","version":"7.37.2"},{"name":"npm:@sentry/react","version":"7.37.2"}]},"extra":{"chunk":"{\"is_finished\":false,\"text\":\" you\"}"},"tags":{"runtime":"browser","source":"decodeStream"},"breadcrumbs":[{"timestamp":1687769021.229,"category":"fetch","data":{"method":"GET","url":"/chat/_next/static/development/_devMiddlewareManifest.json","__span":"83e6df9d0e229097","status_code":200},"type":"http"},{"timestamp":1687769021.288,"category":"navigation","data":{"from":"/chat","to":"/chat"}},{"timestamp":1687769021.417,"category":"console","data":{"arguments":["Warning: Prop `%s` did not match. Server: %s Client: %s%s","className","\"react-scroll-to-bottom--css-zibcg-1n7m0yu overflow-y-auto md:px-10 px-5 mt-auto flex flex-col gap-y-4 md:gap-y-6 py-6 !h-fit [mask-position:left_bottom] [mask-size:100%_20000px] [mask-image:linear-gradient(to_top,_transparent,_black),linear-gradient(to_left,_transparent_17px,_black_17px)] transition-[mask-position] duration-300 hover:[mask-position:left_top] focus:[mask-position:left_top]\"","\"react-scroll-to-bottom--css-duplm-1n7m0yu overflow-y-auto md:px-10 px-5 mt-auto flex flex-col gap-y-4 md:gap-y-6 py-6 !h-fit [mask-position:left_bottom] [mask-size:100%_20000px] [mask-image:linear-gradient(to_top,_transparent,_black),linear-gradient(to_left,_transparent_17px,_black_17px)] transition-[mask-position] duration-300 hover:[mask-position:left_top] focus:[mask-position:left_top]\"","\n at div\n at Panel (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/ScrollToBottom/Panel.js:22:23)\n at div\n at BasicScrollToBottomCore (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/BasicScrollToBottom.js:24:23)\n at Composer (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/ScrollToBottom/Composer.js:132:29)\n at BasicScrollToBottom (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/BasicScrollToBottom.js:52:29)\n at Messages\n at section\n at Wrapper (webpack-internal:///./src/components/Conversation/Wrapper.tsx:50:11)\n at Conversation (webpack-internal:///./src/components/Conversation/index.tsx:28:11)\n at Main (webpack-internal:///./src/components/Layout.tsx:38:11)\n at main\n at c (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@headlessui/react/dist/internal/open-closed.js:8:305)\n at eval (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@headlessui/react/dist/components/transitions/transition.js:20:3475)\n at eval (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@headlessui/react/dist/components/transitions/transition.js:20:7330)\n at div\n at div\n at div\n at Layout (webpack-internal:///./src/components/Layout.tsx:53:11)\n at ChatPage (webpack-internal:///./src/pages/index.tsx:25:11)\n at ConversationsProvider (webpack-internal:///./src/context/ConversationsContext.tsx:22:11)\n at FTUXProvider (webpack-internal:///./src/context/FTUXContext.tsx:63:11)\n at ParamsProvider (webpack-internal:///./src/context/ParamsContext.tsx:24:11)\n at ModalProvider (webpack-internal:///./src/context/ModalContext.tsx:58:11)\n at ContextStore (webpack-internal:///./src/context/index.tsx:22:11)\n at LaunchDarklyInitializeProvider (webpack-internal:///../../packages/utils/contexts/LaunchDarklyInitializeContext.tsx:22:11)\n at Hydrate (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@tanstack/react-query/build/lib/Hydrate.mjs:30:3)\n at QueryClientProvider (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@tanstack/react-query/build/lib/QueryClientProvider.mjs:47:3)\n at BlobheartAPIClientProvider (webpack-internal:///../../packages/blobheart-client/ClientProvider.tsx:18:11)\n at DoryClientProvider (webpack-internal:///../../packages/dory-client/src/ClientProvider.tsx:18:11)\n at AuthConfigProvider (webpack-internal:///../../packages/next-auth/src/AuthConfigProvider.tsx:17:11)\n at LDProvider (webpack-internal:///../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/launchdarkly-react-client-sdk/lib/provider.js:59:9)\n at App (webpack-internal:///./src/pages/_app.tsx:121:11)\n at PathnameContextProviderAdapter (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/router/adapters.js:74:11)\n at ErrorBoundary (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:303:63)\n at ReactDevOverlay (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:852:919)\n at Container (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/client/index.js:77:1)\n at AppContainer (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/client/index.js:181:11)\n at Root (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/client/index.js:359:11)"],"logger":"console"},"level":"error","message":"Warning: Prop `%s` did not match. Server: %s Client: %s%s className \"react-scroll-to-bottom--css-zibcg-1n7m0yu overflow-y-auto md:px-10 px-5 mt-auto flex flex-col gap-y-4 md:gap-y-6 py-6 !h-fit [mask-position:left_bottom] [mask-size:100%_20000px] [mask-image:linear-gradient(to_top,_transparent,_black),linear-gradient(to_left,_transparent_17px,_black_17px)] transition-[mask-position] duration-300 hover:[mask-position:left_top] focus:[mask-position:left_top]\" \"react-scroll-to-bottom--css-duplm-1n7m0yu overflow-y-auto md:px-10 px-5 mt-auto flex flex-col gap-y-4 md:gap-y-6 py-6 !h-fit [mask-position:left_bottom] [mask-size:100%_20000px] [mask-image:linear-gradient(to_top,_transparent,_black),linear-gradient(to_left,_transparent_17px,_black_17px)] transition-[mask-position] duration-300 hover:[mask-position:left_top] focus:[mask-position:left_top]\" \n at div\n at Panel (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/ScrollToBottom/Panel.js:22:23)\n at div\n at BasicScrollToBottomCore (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/BasicScrollToBottom.js:24:23)\n at Composer (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/ScrollToBottom/Composer.js:132:29)\n at BasicScrollToBottom (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/BasicScrollToBottom.js:52:29)\n at Messages\n at section\n at Wrapper (webpack-internal:///./src/components/Conversation/Wrapper.tsx:50:11)\n at Conversation (webpack-internal:///./src/components/Conversation/index.tsx:28:11)\n at Main (webpack-internal:///./src/components/Layout.tsx:38:11)\n at main\n at c (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@headlessui/react/dist/internal/open-closed.js:8:305)\n at eval (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@headlessui/react/dist/components/transitions/transition.js:20:3475)\n at eval (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@headlessui/react/dist/components/transitions/transition.js:20:7330)\n at div\n at div\n at div\n at Layout (webpack-internal:///./src/components/Layout.tsx:53:11)\n at ChatPage (webpack-internal:///./src/pages/index.tsx:25:11)\n at ConversationsProvider (webpack-internal:///./src/context/ConversationsContext.tsx:22:11)\n at FTUXProvider (webpack-internal:///./src/context/FTUXContext.tsx:63:11)\n at ParamsProvider (webpack-internal:///./src/context/ParamsContext.tsx:24:11)\n at ModalProvider (webpack-internal:///./src/context/ModalContext.tsx:58:11)\n at ContextStore (webpack-internal:///./src/context/index.tsx:22:11)\n at LaunchDarklyInitializeProvider (webpack-internal:///../../packages/utils/contexts/LaunchDarklyInitializeContext.tsx:22:11)\n at Hydrate (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@tanstack/react-query/build/lib/Hydrate.mjs:30:3)\n at QueryClientProvider (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@tanstack/react-query/build/lib/QueryClientProvider.mjs:47:3)\n at BlobheartAPIClientProvider (webpack-internal:///../../packages/blobheart-client/ClientProvider.tsx:18:11)\n at DoryClientProvider (webpack-internal:///../../packages/dory-client/src/ClientProvider.tsx:18:11)\n at AuthConfigProvider (webpack-internal:///../../packages/next-auth/src/AuthConfigProvider.tsx:17:11)\n at LDProvider (webpack-internal:///../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/launchdarkly-react-client-sdk/lib/provider.js:59:9)\n at App (webpack-internal:///./src/pages/_app.tsx:121:11)\n at PathnameContextProviderAdapter (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/router/adapters.js:74:11)\n at ErrorBoundary (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:303:63)\n at ReactDevOverlay (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:852:919)\n at Container (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/client/index.js:77:1)\n at AppContainer (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/client/index.js:181:11)\n at Root (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/client/index.js:359:11)"},{"timestamp":1687769022.525,"category":"xhr","data":{"method":"POST","url":"https://stg.api.os.cohere.ai/rpc/BlobheartAPI/Session","status_code":200},"type":"http"},{"timestamp":1687769022.536,"category":"xhr","data":{"method":"POST","url":"https://stg.api.os.cohere.ai/rpc/BlobheartAPI/GetWaitlistStatus","status_code":200},"type":"http"},{"timestamp":1687769022.549,"category":"xhr","data":{"method":"POST","url":"https://stg.api.os.cohere.ai/rpc/BlobheartAPI/GetOrCreateDefaultAPIKey","status_code":200},"type":"http"},{"timestamp":1687769022.55,"category":"xhr","data":{"method":"POST","url":"https://stg.api.os.cohere.ai/rpc/BlobheartAPI/GetOrCreateDefaultAPIKey","status_code":200},"type":"http"},{"timestamp":1687769022.571,"category":"xhr","data":{"method":"POST","url":"https://stg.api.os.cohere.ai/rpc/BlobheartAPI/GetReadMeAuthToken","status_code":200},"type":"http"},{"timestamp":1687769022.663,"category":"xhr","data":{"method":"POST","url":"https://stg.api.os.cohere.ai/rpc/BlobheartAPI/ListModels","status_code":200},"type":"http"},{"timestamp":1687769022.986,"category":"xhr","data":{"method":"POST","url":"https://events.launchdarkly.com/events/diagnostic/630fadef6a7a3f122e4c5cc1","status_code":202},"type":"http"},{"timestamp":1687769022.987,"category":"xhr","data":{"method":"POST","url":"https://events.launchdarkly.com/events/diagnostic/630fadef6a7a3f122e4c5cc1","status_code":202},"type":"http"},{"timestamp":1687769023.041,"category":"xhr","data":{"method":"GET","url":"https://stg.api.cohere.ai/v1/chat","status_code":200},"type":"http"},{"timestamp":1687769023.09,"category":"xhr","data":{"method":"GET","url":"https://app.launchdarkly.com/sdk/goals/630fadef6a7a3f122e4c5cc1","status_code":200},"type":"http"},{"timestamp":1687769023.093,"category":"xhr","data":{"method":"GET","url":"https://app.launchdarkly.com/sdk/goals/630fadef6a7a3f122e4c5cc1","status_code":200},"type":"http"},{"timestamp":1687769023.362,"category":"xhr","data":{"method":"GET","url":"https://app.launchdarkly.com/sdk/evalx/630fadef6a7a3f122e4c5cc1/contexts/eyJhbm9ueW1vdXMiOnRydWUsImtpbmQiOiJ1c2VyIiwia2V5IjoiZjk4NjQzMzEtYmNlMi0xMWVkLTgyMjItNGIwYTJiZjgzZmZmIn0","status_code":200},"type":"http"},{"timestamp":1687769023.362,"category":"console","data":{"arguments":["[LaunchDarkly] LaunchDarkly client initialized"],"logger":"console"},"level":"info","message":"[LaunchDarkly] LaunchDarkly client initialized"},{"timestamp":1687769023.365,"category":"console","data":{"arguments":["[LaunchDarkly] Opening stream connection to https://clientstream.launchdarkly.com/eval/630fadef6a7a3f122e4c5cc1/eyJhbm9ueW1vdXMiOnRydWUsImtpbmQiOiJ1c2VyIiwia2V5IjoiZjk4NjQzMzEtYmNlMi0xMWVkLTgyMjItNGIwYTJiZjgzZmZmIn0"],"logger":"console"},"level":"info","message":"[LaunchDarkly] Opening stream connection to https://clientstream.launchdarkly.com/eval/630fadef6a7a3f122e4c5cc1/eyJhbm9ueW1vdXMiOnRydWUsImtpbmQiOiJ1c2VyIiwia2V5IjoiZjk4NjQzMzEtYmNlMi0xMWVkLTgyMjItNGIwYTJiZjgzZmZmIn0"},{"timestamp":1687769023.366,"category":"xhr","data":{"method":"GET","url":"https://app.launchdarkly.com/sdk/evalx/630fadef6a7a3f122e4c5cc1/contexts/eyJhbm9ueW1vdXMiOnRydWUsImtpbmQiOiJ1c2VyIiwia2V5IjoiZjk4NjQzMzEtYmNlMi0xMWVkLTgyMjItNGIwYTJiZjgzZmZmIn0","status_code":200},"type":"http"},{"timestamp":1687769023.366,"category":"console","data":{"arguments":["[LaunchDarkly] LaunchDarkly client initialized"],"logger":"console"},"level":"info","message":"[LaunchDarkly] LaunchDarkly client initialized"},{"timestamp":1687769023.366,"category":"console","data":{"arguments":["[LaunchDarkly] Opening stream connection to https://clientstream.launchdarkly.com/eval/630fadef6a7a3f122e4c5cc1/eyJhbm9ueW1vdXMiOnRydWUsImtpbmQiOiJ1c2VyIiwia2V5IjoiZjk4NjQzMzEtYmNlMi0xMWVkLTgyMjItNGIwYTJiZjgzZmZmIn0"],"logger":"console"},"level":"info","message":"[LaunchDarkly] Opening stream connection to https://clientstream.launchdarkly.com/eval/630fadef6a7a3f122e4c5cc1/eyJhbm9ueW1vdXMiOnRydWUsImtpbmQiOiJ1c2VyIiwia2V5IjoiZjk4NjQzMzEtYmNlMi0xMWVkLTgyMjItNGIwYTJiZjgzZmZmIn0"},{"timestamp":1687769023.449,"category":"xhr","data":{"method":"GET","url":"https://app.launchdarkly.com/sdk/evalx/630fadef6a7a3f122e4c5cc1/contexts/eyJrZXkiOiIzOWNjMmQzNS04ODRkLTQyOWUtOGM3MS1mYzY4YzU1YTczMzYiLCJraW5kIjoidXNlciIsImFub255bW91cyI6ZmFsc2UsIm9yZ2FuaXphdGlvbklkIjoiN2UxNzI0MmEtODQ4OS00NjUwLTk2MzEtZjliY2I0OTMxOWJkIn0","status_code":200},"type":"http"},{"timestamp":1687769023.45,"category":"console","data":{"arguments":["[LaunchDarkly] Closing stream connection"],"logger":"console"},"level":"info","message":"[LaunchDarkly] Closing stream connection"},{"timestamp":1687769023.45,"category":"console","data":{"arguments":["[LaunchDarkly] Opening stream connection to https://clientstream.launchdarkly.com/eval/630fadef6a7a3f122e4c5cc1/eyJrZXkiOiIzOWNjMmQzNS04ODRkLTQyOWUtOGM3MS1mYzY4YzU1YTczMzYiLCJraW5kIjoidXNlciIsImFub255bW91cyI6ZmFsc2UsIm9yZ2FuaXphdGlvbklkIjoiN2UxNzI0MmEtODQ4OS00NjUwLTk2MzEtZjliY2I0OTMxOWJkIn0"],"logger":"console"},"level":"info","message":"[LaunchDarkly] Opening stream connection to https://clientstream.launchdarkly.com/eval/630fadef6a7a3f122e4c5cc1/eyJrZXkiOiIzOWNjMmQzNS04ODRkLTQyOWUtOGM3MS1mYzY4YzU1YTczMzYiLCJraW5kIjoidXNlciIsImFub255bW91cyI6ZmFsc2UsIm9yZ2FuaXphdGlvbklkIjoiN2UxNzI0MmEtODQ4OS00NjUwLTk2MzEtZjliY2I0OTMxOWJkIn0"},{"timestamp":1687769023.766,"category":"xhr","data":{"method":"POST","url":"https://stg.api.os.cohere.ai/rpc/BlobheartAPI/GetOrCreateDefaultAPIKey","status_code":200},"type":"http"},{"timestamp":1687769023.826,"category":"xhr","data":{"method":"POST","url":"https://events.launchdarkly.com/events/bulk/630fadef6a7a3f122e4c5cc1","status_code":202},"type":"http"},{"timestamp":1687769023.832,"category":"xhr","data":{"method":"POST","url":"https://events.launchdarkly.com/events/bulk/630fadef6a7a3f122e4c5cc1","status_code":202},"type":"http"},{"timestamp":1687769024.065,"category":"xhr","data":{"method":"GET","url":"https://stg.api.cohere.ai/v1/chat","status_code":200},"type":"http"},{"timestamp":1687769025.075,"category":"sentry.transaction","event_id":"dd7e2fb6ec644d5aadd268fc14b98790","message":"dd7e2fb6ec644d5aadd268fc14b98790"},{"timestamp":1687769025.809,"category":"xhr","data":{"method":"POST","url":"https://events.launchdarkly.com/events/bulk/630fadef6a7a3f122e4c5cc1","status_code":202},"type":"http"},{"timestamp":1687769080.067,"category":"ui.click","message":"textarea.min-h-[3rem].md:min-h-[4rem].max-h-48.w-full.flex-1.resize-none.overflow-hidden.self-center.p-2.md:p-4.rounded.bg-marble-100.transition.ease-in-out.leading-[200%].focus:outline-none.text-p.font-body"},{"timestamp":1687769080.915,"category":"ui.input","message":"textarea.min-h-[3rem].md:min-h-[4rem].max-h-48.w-full.flex-1.resize-none.overflow-hidden.self-center.p-2.md:p-4.rounded.bg-marble-100.transition.ease-in-out.leading-[200%].focus:outline-none.text-p.font-body"},{"timestamp":1687769081.275,"category":"console","data":{"arguments":["react-scroll-to-bottom: Please set \"behavior\" when calling \"scrollToBottom\". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.","\n at Content (webpack-internal:///./src/components/Conversation/Messages.tsx:58:11)\n at div\n at Panel (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/ScrollToBottom/Panel.js:22:23)\n at div\n at BasicScrollToBottomCore (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/BasicScrollToBottom.js:24:23)\n at Composer (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/ScrollToBottom/Composer.js:132:29)\n at BasicScrollToBottom (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/BasicScrollToBottom.js:52:29)\n at Messages\n at section\n at Wrapper (webpack-internal:///./src/components/Conversation/Wrapper.tsx:50:11)\n at Conversation (webpack-internal:///./src/components/Conversation/index.tsx:28:11)\n at Main (webpack-internal:///./src/components/Layout.tsx:38:11)\n at main\n at c (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@headlessui/react/dist/internal/open-closed.js:8:305)\n at eval (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@headlessui/react/dist/components/transitions/transition.js:20:3475)\n at eval (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@headlessui/react/dist/components/transitions/transition.js:20:7330)\n at div\n at div\n at div\n at Layout (webpack-internal:///./src/components/Layout.tsx:53:11)\n at ChatPage (webpack-internal:///./src/pages/index.tsx:25:11)\n at ConversationsProvider (webpack-internal:///./src/context/ConversationsContext.tsx:22:11)\n at FTUXProvider (webpack-internal:///./src/context/FTUXContext.tsx:63:11)\n at ParamsProvider (webpack-internal:///./src/context/ParamsContext.tsx:24:11)\n at ModalProvider (webpack-internal:///./src/context/ModalContext.tsx:58:11)\n at ContextStore (webpack-internal:///./src/context/index.tsx:22:11)\n at LaunchDarklyInitializeProvider (webpack-internal:///../../packages/utils/contexts/LaunchDarklyInitializeContext.tsx:22:11)\n at Hydrate (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@tanstack/react-query/build/lib/Hydrate.mjs:30:3)\n at QueryClientProvider (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@tanstack/react-query/build/lib/QueryClientProvider.mjs:47:3)\n at BlobheartAPIClientProvider (webpack-internal:///../../packages/blobheart-client/ClientProvider.tsx:18:11)\n at DoryClientProvider (webpack-internal:///../../packages/dory-client/src/ClientProvider.tsx:18:11)\n at AuthConfigProvider (webpack-internal:///../../packages/next-auth/src/AuthConfigProvider.tsx:17:11)\n at LDProvider (webpack-internal:///../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/launchdarkly-react-client-sdk/lib/provider.js:59:9)\n at App (webpack-internal:///./src/pages/_app.tsx:121:11)\n at PathnameContextProviderAdapter (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/router/adapters.js:74:11)\n at ErrorBoundary (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:303:63)\n at ReactDevOverlay (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:852:919)\n at Container (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/client/index.js:77:1)\n at AppContainer (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/client/index.js:181:11)\n at Root (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/client/index.js:359:11)"],"logger":"console"},"level":"warning","message":"react-scroll-to-bottom: Please set \"behavior\" when calling \"scrollToBottom\". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard. \n at Content (webpack-internal:///./src/components/Conversation/Messages.tsx:58:11)\n at div\n at Panel (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/ScrollToBottom/Panel.js:22:23)\n at div\n at BasicScrollToBottomCore (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/BasicScrollToBottom.js:24:23)\n at Composer (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/ScrollToBottom/Composer.js:132:29)\n at BasicScrollToBottom (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-scroll-to-bottom/lib/esm/BasicScrollToBottom.js:52:29)\n at Messages\n at section\n at Wrapper (webpack-internal:///./src/components/Conversation/Wrapper.tsx:50:11)\n at Conversation (webpack-internal:///./src/components/Conversation/index.tsx:28:11)\n at Main (webpack-internal:///./src/components/Layout.tsx:38:11)\n at main\n at c (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@headlessui/react/dist/internal/open-closed.js:8:305)\n at eval (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@headlessui/react/dist/components/transitions/transition.js:20:3475)\n at eval (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@headlessui/react/dist/components/transitions/transition.js:20:7330)\n at div\n at div\n at div\n at Layout (webpack-internal:///./src/components/Layout.tsx:53:11)\n at ChatPage (webpack-internal:///./src/pages/index.tsx:25:11)\n at ConversationsProvider (webpack-internal:///./src/context/ConversationsContext.tsx:22:11)\n at FTUXProvider (webpack-internal:///./src/context/FTUXContext.tsx:63:11)\n at ParamsProvider (webpack-internal:///./src/context/ParamsContext.tsx:24:11)\n at ModalProvider (webpack-internal:///./src/context/ModalContext.tsx:58:11)\n at ContextStore (webpack-internal:///./src/context/index.tsx:22:11)\n at LaunchDarklyInitializeProvider (webpack-internal:///../../packages/utils/contexts/LaunchDarklyInitializeContext.tsx:22:11)\n at Hydrate (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@tanstack/react-query/build/lib/Hydrate.mjs:30:3)\n at QueryClientProvider (webpack-internal:///../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@tanstack/react-query/build/lib/QueryClientProvider.mjs:47:3)\n at BlobheartAPIClientProvider (webpack-internal:///../../packages/blobheart-client/ClientProvider.tsx:18:11)\n at DoryClientProvider (webpack-internal:///../../packages/dory-client/src/ClientProvider.tsx:18:11)\n at AuthConfigProvider (webpack-internal:///../../packages/next-auth/src/AuthConfigProvider.tsx:17:11)\n at LDProvider (webpack-internal:///../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/launchdarkly-react-client-sdk/lib/provider.js:59:9)\n at App (webpack-internal:///./src/pages/_app.tsx:121:11)\n at PathnameContextProviderAdapter (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/router/adapters.js:74:11)\n at ErrorBoundary (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:303:63)\n at ReactDevOverlay (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:852:919)\n at Container (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/client/index.js:77:1)\n at AppContainer (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/client/index.js:181:11)\n at Root (webpack-internal:///../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/client/index.js:359:11)"},{"timestamp":1687769081.799,"category":"fetch","data":{"method":"POST","url":"https://stg.api.cohere.ai/v1/chat","status_code":200},"type":"http"},{"timestamp":1687769081.799,"category":"console","data":{"arguments":[{"message":"test tomeu","name":"Error","stack":"Error: test tomeu\n at Object.onMessage (webpack-internal:///./src/hooks/chat.ts:106:23)\n at decodeStream (webpack-internal:///../../packages/utils/utils/decode-stream.ts:44:24)\n at async readStreamChat (webpack-internal:///./src/hooks/chat.ts:102:5)"}],"logger":"console"},"level":"error","message":"Error: test tomeu"},{"timestamp":1687769081.833,"category":"console","data":{"arguments":[{"message":"test tomeu","name":"Error","stack":"Error: test tomeu\n at Object.onMessage (webpack-internal:///./src/hooks/chat.ts:106:23)\n at decodeStream (webpack-internal:///../../packages/utils/utils/decode-stream.ts:44:24)\n at async readStreamChat (webpack-internal:///./src/hooks/chat.ts:102:5)"}],"logger":"console"},"level":"error","message":"Error: test tomeu"},{"timestamp":1687769081.857,"category":"console","data":{"arguments":[{"message":"test tomeu","name":"Error","stack":"Error: test tomeu\n at Object.onMessage (webpack-internal:///./src/hooks/chat.ts:106:23)\n at decodeStream (webpack-internal:///../../packages/utils/utils/decode-stream.ts:44:24)\n at async readStreamChat (webpack-internal:///./src/hooks/chat.ts:102:5)"}],"logger":"console"},"level":"error","message":"Error: test tomeu"},{"timestamp":1687769081.887,"category":"console","data":{"arguments":[{"message":"test tomeu","name":"Error","stack":"Error: test tomeu\n at Object.onMessage (webpack-internal:///./src/hooks/chat.ts:106:23)\n at decodeStream (webpack-internal:///../../packages/utils/utils/decode-stream.ts:44:24)\n at async readStreamChat (webpack-internal:///./src/hooks/chat.ts:102:5)"}],"logger":"console"},"level":"error","message":"Error: test tomeu"},{"timestamp":1687769081.918,"category":"console","data":{"arguments":[{"message":"test tomeu","name":"Error","stack":"Error: test tomeu\n at Object.onMessage (webpack-internal:///./src/hooks/chat.ts:106:23)\n at decodeStream (webpack-internal:///../../packages/utils/utils/decode-stream.ts:44:24)\n at async readStreamChat (webpack-internal:///./src/hooks/chat.ts:102:5)"}],"logger":"console"},"level":"error","message":"Error: test tomeu"},{"timestamp":1687769081.948,"category":"console","data":{"arguments":[{"message":"test tomeu","name":"Error","stack":"Error: test tomeu\n at Object.onMessage (webpack-internal:///./src/hooks/chat.ts:106:23)\n at decodeStream (webpack-internal:///../../packages/utils/utils/decode-stream.ts:44:24)\n at async readStreamChat (webpack-internal:///./src/hooks/chat.ts:102:5)"}],"logger":"console"},"level":"error","message":"Error: test tomeu"},{"timestamp":1687769081.979,"category":"console","data":{"arguments":[{"message":"test tomeu","name":"Error","stack":"Error: test tomeu\n at Object.onMessage (webpack-internal:///./src/hooks/chat.ts:106:23)\n at decodeStream (webpack-internal:///../../packages/utils/utils/decode-stream.ts:44:24)\n at async readStreamChat (webpack-internal:///./src/hooks/chat.ts:102:5)"}],"logger":"console"},"level":"error","message":"Error: test tomeu"}],"request":{"url":"http://localhost:4000/chat","headers":{"User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"}}}
// response
{"id":"8f4598185d3f4968b93cddda9f20d07a"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment