-
Notifications
You must be signed in to change notification settings - Fork 873
Open
Description
When I configure AI Code Reviewer to run against gpt-4-0125-preview
(a turbo model), I get the following failure (sometimes on repeat, sometimes only once) in the AI Code Reviewer
step every single time it runs →
Error: SyntaxError: Unexpected token ` in JSON at position 0
at JSON.parse (<anonymous>)
at /home/runner/work/_actions/freeedcom/ai-codereviewer/main/webpack:/open-ai-reviewer/lib/main.js:151:1
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/_actions/freeedcom/ai-codereviewer/main/webpack:/open-ai-reviewer/lib/main.js:28:1)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
This failure results in no comments being made on the pull request.
Making it run against gpt-4-1106-preview
instead resolves the issue and the action works well.
mattlucian
Metadata
Metadata
Assignees
Labels
No labels