refactor(cli): improve logging format #271
Annotations
2 errors and 1 warning
Run anc95/ChatGPT-CodeReview@v1
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: '9091682735',
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: '9091682735',
name: 'pull_request',
payload: {
action: 'opened',
number: 1652,
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/1652/comments'
},
commits: {
href: 'https://api.github.com/repos/emqx/MQTTX/pulls/1652/commits'
},
html: { href: 'https://github.com/emqx/MQTTX/pull/1652' },
issue: {
href: 'https://api.github.com/repos/emqx/MQTTX/issues/1652'
},
review_comment: {
href: 'https://api.github.com/repos/emqx/MQTTX/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/emqx/MQTTX/pulls/1652/comments'
},
self: {
href: 'https://api.github.com/repos/emqx/MQTTX/pulls/1652'
},
statuses: {
href: 'https://api.github.com/repos/emqx/MQTTX/statuses/3cd50bb7736a7c6fbd5ea3d54d9088ded5f93fbf'
}
},
active_lock_reason: null,
additions: 11,
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
|
Run anc95/ChatGPT-CodeReview@v1
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: '9091682735',
name: 'pull_request',
payload: {
action: 'opened',
number: 1652,
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',
|
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/.
|
Loading