-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdev.log
More file actions
22 lines (19 loc) · 1.71 KB
/
Copy pathdev.log
File metadata and controls
22 lines (19 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
> nextn@0.1.0 dev /root/repo
> next dev
▲ Next.js 15.3.3
- Local: http://localhost:3000
- Network: http://169.254.0.21:3000
- Experiments (use with caution):
· clientTraceMetadata
✓ Starting...
[@sentry/nextjs] Could not find `onRequestError` hook in instrumentation file. This indicates outdated configuration of the Sentry SDK. Use `Sentry.captureRequestError` to instrument the `onRequestError` hook: https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#errors-from-nested-react-server-components
[@sentry/nextjs] It seems like you don't have a global error handler set up. It is recommended that you add a 'global-error.js' file with Sentry instrumentation so that React rendering errors are reported to Sentry. Read more: https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#react-render-errors-in-app-router (you can suppress this warning by setting SENTRY_SUPPRESS_GLOBAL_ERROR_HANDLER_FILE_WARNING=1 as environment variable)
[@sentry/nextjs] DEPRECATION WARNING: It is recommended renaming your `sentry.client.config.ts` file, or moving its content to `instrumentation-client.ts`. When using Turbopack `sentry.client.config.ts` will no longer work. Read more about the `instrumentation-client.ts` file: https://nextjs.org/docs/app/api-reference/file-conventions/instrumentation-client
✓ Ready in 3.1s
○ Compiling /api/chat ...
✓ Compiled /api/chat in 11.9s (1526 modules)
Chat API route - Request: { model: 'openai/gpt-5.1', hasMessage: true, hasApiKey: true }
Chat API route - Calling: https://api.gatewayz.ai/v1/chat/completions
Chat API route - Response status: 404
Chat API route - Backend error: {"detail":"Not Found"}
POST /api/chat 404 in 13731ms