Merged
Conversation
- Log PR info (title, author, file count, diff lines) - Capture HTTP status code from curl - Log response keys for debugging - Show full response when content is empty - Better error handling with informative messages Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
AI Code ReviewAPI Error: HTTP 200 - {"choices":[{"finish_reason":"length","index":0,"logprobs":null,"message":{"content":"","reasoning":"We need to produce a concise review: summary, risk assessment, security, suggestions. Let's examine Powered by Demeterics with openai/gpt-oss-20b |
- Extract from 'reasoning' field if 'content' is empty - Increase max_tokens from 1000 to 2000 to avoid truncation - Log finish_reason when content is empty The openai/gpt-oss-20b model outputs to the 'reasoning' field instead of 'content', and 1000 tokens was causing truncation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
AI Code ReviewAPI Error: HTTP 200 - {"choices":[{"finish_reason":"stop","index":0,"logprobs":null,"message":{"content":"## 1. Summary \nThe PR adds extensive debugging output to the Powered by Demeterics with openai/gpt-oss-20b |
Use curl -o to write response to file and -w for status code, avoiding the need to parse them from a combined output. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
AI Code Review1. Summary
Powered by Demeterics with openai/gpt-oss-20b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test PR to debug the empty LLM analysis in commit-analysis workflow.
Changes
Added verbose logging to diagnose why the API response is empty:
Test plan
🤖 Generated with Claude Code