Add REASONING_EFFORT var for reasoning models#210
Open
PeterDaveHello wants to merge 1 commit into
Open
Annotations
2 errors and 1 warning
|
Run anc95/ChatGPT-CodeReview@main
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:3619:21
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34577:18)
{
err: {
type: 'AggregateError',
message: '\n' +
' HttpError: Resource not accessible by integration\n' +
' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:3619:21\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n' +
' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34577:18)',
stack: 'AggregateError: \n' +
' HttpError: Resource not accessible by integration\n' +
' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:3619:21\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n' +
' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34577:18)\n' +
' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:12925:19',
aggregateErrors: [
{
type: 'RequestError',
message: 'Resource not accessible by integration',
stack: 'HttpError: Resource not accessible by integration\n' +
' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:3619:21\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n' +
' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34577:18)',
name: 'HttpError',
status: 403,
response: {
url: 'https://api.github.com/repos/anc95/ChatGPT-CodeReview/pulls/210/reviews',
status: 403,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning',
connection: 'close',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 07 Jul 2026 14:06:46 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'pull_requests=write',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-api-version-selected': '2022-11-28',
'x-github-media-type': 'github.v3; format=json',
'x-github-request-id': '7440:262E59:58D70E1:136DB923:6A4D07F6',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4998',
'x-ratelimit-reset': '1783436796',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '2',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request',
status: '403'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/anc95/ChatGPT-CodeReview/pulls/210/reviews',
headers: {
accept: 'application/vnd.github.v3+json',
'user
|
|
Run anc95/ChatGPT-CodeReview@main
Resource not accessible by integration
{
name: 'event',
id: '28872511669',
err: {
type: 'RequestError',
message: 'Resource not accessible by integration',
stack: 'HttpError: Resource not accessible by integration\n' +
' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:3619:21\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n' +
' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34577:18)',
name: 'HttpError',
status: 403,
response: {
url: 'https://api.github.com/repos/anc95/ChatGPT-CodeReview/pulls/210/reviews',
status: 403,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning',
connection: 'close',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 07 Jul 2026 14:06:46 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'pull_requests=write',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-api-version-selected': '2022-11-28',
'x-github-media-type': 'github.v3; format=json',
'x-github-request-id': '7440:262E59:58D70E1:136DB923:6A4D07F6',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4998',
'x-ratelimit-reset': '1783436796',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '2',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request',
status: '403'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/anc95/ChatGPT-CodeReview/pulls/210/reviews',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.3.0 octokit-core.js/3.6.0 Node.js/24',
authorization: 'bearer [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"Code review by ChatGPT","event":"COMMENT","commit_id":"d7b3807a4495398a6ef640cc6a3aee35d656ff8c","comments":[{"path":"action/src/chat.d.ts","body":"### Concerns\\n\\n1. **Private Properties Initialization**: The new private properties `reasoningModels` and `reasoningPrefixes` are declared but not initialized in the constructor. This could lead to runtime errors if they are accessed before being assigned a value.\\n\\n2. **Getters Declaration**: The addition of multiple getters (`model`, `normalizedModel`, etc.) without clear implementation or documentation may lead to confusion. It is unclear how these properties are intended to be used, and their absence in the original code review may suggest they are not thoroughly tested.\\n\\n### Suggestions\\n\\n- Consider initializing `reasoningModels` and `reasoningPrefixes` in the constructor or provide a method to set them after instantiation to avoid potential null reference errors.\\n- Ensure that the behavior and purpose of the getters are well documented. If they are critical to the functionality, consider complete implementation or detailed comments explaining their role.","line":14,"side":"RIGHT"},{"path":"src/chat.ts","body":"- The `model` getter is dynamically determined using environment variables. However
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: anc95/ChatGPT-CodeReview@main. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
parallel
Loading