You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@vultr:~# docker logs 17f9a1f75294
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests ends with a user role or a function response.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests ends with a user role or a function response.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
Node.js v18.15.0
Cleaning up!
sh: can't kill pid 34: No such process
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests alternate between user and model.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests alternate between user and model.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
Node.js v18.15.0
Cleaning up!
sh: can't kill pid 35: No such process
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests ends with a user role or a function response.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests ends with a user role or a function response.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
Node.js v18.15.0
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
GoogleGenerativeAIError: [500 Internal Server Error] An internal error has occurred. Please retry or report in https: //developers.generativeai.google/guide/troubleshooting
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
GoogleGenerativeAIError: [500 Internal Server Error] An internal error has occurred. Please retry or report in https: //developers.generativeai.google/guide/troubleshooting
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
Node.js v18.15.0
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
No response
Participation
I am willing to submit a pull request for this issue.
The text was updated successfully, but these errors were encountered:
What operating system are you using?
windows
What browser are you using?
edge
Describe the bug
嗯… 无法访问此页面
ip已拒绝连接。
What prompt did you enter?
网页刚部署好能够使用,过一段时间(一小时左右)就出现以上报错
Console Logs
root@vultr:~# docker logs 17f9a1f75294
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests ends with a user role or a function response.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests ends with a user role or a function response.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
Node.js v18.15.0
Cleaning up!
sh: can't kill pid 34: No such process
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests alternate between user and model.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests alternate between user and model.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
Node.js v18.15.0
Cleaning up!
sh: can't kill pid 35: No such process
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests ends with a user role or a function response.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
GoogleGenerativeAIError: [400 Bad Request] Please ensure that multiturn requests ends with a user role or a function response.
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
Node.js v18.15.0
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
GoogleGenerativeAIError: [500 Internal Server Error] An internal error has occurred. Please retry or report in https: //developers.generativeai.google/guide/troubleshooting
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
GoogleGenerativeAIError: [500 Internal Server Error] An internal error has occurred. Please retry or report in https: //developers.generativeai.google/guide/troubleshooting
at makeRequest (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@google/generative-ai /dist/index.mjs:205:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateContentStream (file:///usr/src/node_modules/.pnpm/@google[email protected]/node_modules/@goog le/generative-ai/dist/index.mjs:504:22)
Node.js v18.15.0
Starting service...
Running script...
Server listening on http://0.0.0.0:3000
No response
Participation
The text was updated successfully, but these errors were encountered: