Skip to content

fix(cli): update wrong prompt type when error #286

fix(cli): update wrong prompt type when error

fix(cli): update wrong prompt type when error #286

Triggered via pull request May 25, 2024 16:39
Status Success
Total duration 12s
Artifacts

cr.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
review
ChatGPT error 404: { "error": { "message": "The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations", "type": "invalid_request_error", "param": null, "code": "model_not_found" } } { name: 'event', id: '9236852806', err: { type: 'ChatGPTError', message: 'ChatGPT error 404: {\n' + ' "error": {\n' + ' "message": "The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations",\n' + ' "type": "invalid_request_error",\n' + ' "param": null,\n' + ' "code": "model_not_found"\n' + ' }\n' + '}\n', stack: 'Error: ChatGPT error 404: {\n' + ' "error": {\n' + ' "message": "The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations",\n' + ' "type": "invalid_request_error",\n' + ' "param": null,\n' + ' "code": "model_not_found"\n' + ' }\n' + '}\n' + '\n' + ' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:165109:29\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)', statusCode: 404, statusText: 'Not Found', event: { id: '9236852806', name: 'pull_request', payload: { action: 'opened', number: 1670, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/25221711?v=4', description: 'Powering real-time data infrastructure with a unified MQTT platform for messaging, queuing, and streaming.', events_url: 'https://api.github.com/orgs/emqx/events', hooks_url: 'https://api.github.com/orgs/emqx/hooks', id: 25221711, issues_url: 'https://api.github.com/orgs/emqx/issues', login: 'emqx', members_url: 'https://api.github.com/orgs/emqx/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjI1MjIxNzEx', public_members_url: 'https://api.github.com/orgs/emqx/public_members{/member}', repos_url: 'https://api.github.com/orgs/emqx/repos', url: 'https://api.github.com/orgs/emqx' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/emqx/MQTTX/issues/1670/comments' }, commits: { href: 'https://api.github.com/repos/emqx/MQTTX/pulls/1670/commits' }, html: { href: 'https://github.com/emqx/MQTTX/pull/1670' }, issue: { href: 'https://api.github.com/repos/emqx/MQTTX/issues/1670' }, review_comment: { href: 'https://api.github.com/repos/emqx/MQTTX/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/emqx/MQTTX/pulls/1670/comments' }, self: { href: 'https://api.github.com/repos/emqx/MQTTX/pulls/1670' }, statuses: { href: 'https://api.github.com/repos/emqx/MQTTX/statuses/4e041e3be2d44adefdf87684f45ef4703003940e' } }, active_lock_reason: null, additions: 10, assignee: { avatar_url: 'https://avatars.githubusercontent.com/u/21299158?v=4', events_url: 'https://api.github.com/users/ysfscream/events{/privacy}', followers_url: 'https://api.github.com/users/ysfscream/followers', following_url: 'https://api.github.com/users/ysfscream/following{/other_user}', gists_url: 'https://api.github.com/users/ysfscream/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/ysfscream', id: 21299158, login: 'ysfscream', node_id: 'MDQ6VXNlcjIxMjk5MTU4', organizations_url: 'https://api.github.com/users/ysfscream/orgs', received_ev
review
Error: ChatGPT error 404: { "error": { "message": "The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations", "type": "invalid_request_error", "param": null, "code": "model_not_found" } } at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:165109:29 at processTicksAndRejections (node:internal/process/task_queues:96:5) { err: { type: 'AggregateError', message: '\n' + ' Error: ChatGPT error 404: {\n' + ' "error": {\n' + ' "message": "The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations",\n' + ' "type": "invalid_request_error",\n' + ' "param": null,\n' + ' "code": "model_not_found"\n' + ' }\n' + ' }\n' + ' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:165109:29\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)', stack: 'AggregateError: \n' + ' Error: ChatGPT error 404: {\n' + ' "error": {\n' + ' "message": "The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations",\n' + ' "type": "invalid_request_error",\n' + ' "param": null,\n' + ' "code": "model_not_found"\n' + ' }\n' + ' }\n' + ' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:165109:29\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' + ' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:21449:19\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)', aggregateErrors: [ { type: 'ChatGPTError', message: 'ChatGPT error 404: {\n' + ' "error": {\n' + ' "message": "The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations",\n' + ' "type": "invalid_request_error",\n' + ' "param": null,\n' + ' "code": "model_not_found"\n' + ' }\n' + '}\n', stack: 'Error: ChatGPT error 404: {\n' + ' "error": {\n' + ' "message": "The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations",\n' + ' "type": "invalid_request_error",\n' + ' "param": null,\n' + ' "code": "model_not_found"\n' + ' }\n' + '}\n' + '\n' + ' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:165109:29\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)', statusCode: 404, statusText: 'Not Found', event: { id: '9236852806', name: 'pull_request', payload: { action: 'opened', number: 1670, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/25221711?v=4', description: 'Powering real-time data infrastructure with a unified MQTT platform for messaging, queuing, and streaming.', events_url: 'https://api.github.com/orgs/emqx/events', hooks_url: 'https://api.github.com/orgs/emqx/hooks', id: 25221711, issues_url: 'https://api.github.com/orgs/emqx/issues', login: 'emqx', members_url: 'https://api.github.com/orgs/emqx/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjI1MjIxNzEx', public_members_url: 'https://api.github.com/orgs/emqx/public_members{/member}', repos_url: 'https://api.github.com/orgs/emqx/repos',
review
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: anc95/ChatGPT-CodeReview@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.