Repository navigation
Surface provider error details and make verifier temperature configurable - #144
Merged
Merged
Conversation
|
🚀 Thanks for opening a Pull Request! A maintainer will review this soon. Meanwhile: Your contribution helps make this project better! |
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.
This pull request makes several improvements to the CI workflow and codebase, focusing on workflow reliability, configuration flexibility, and error reporting clarity. The most notable changes are stricter and more robust CI workflows, improved error messages for HTTP failures, and enhanced configurability for verification steps.
CI Workflow Improvements:
.github/workflows/v2.ymlto use stricter concurrency controls, improved branch workflow validation, and more descriptive comments. Added timeouts and environment variable settings to all jobs, and simplified the test matrix to cover only essential OS/Python combinations. [1] [2] [3] [4] [5]Configuration Enhancements:
temperaturefield to theVerifyConfigmodel insrc/coderrr/config.py, allowing the sampling temperature for verifier calls to be set in the config. This helps avoid deterministic failures in retries.src/coderrr/verify.pyto use the configurabletemperaturevalue in verifier LLM calls.Error Reporting Improvements:
src/coderrr/llm/anthropic.py,src/coderrr/llm/google.py,src/coderrr/llm/openai_compat.py) to ensure that empty exception messages (e.g., from timeouts) fall back to the exception class name, making failures easier to diagnose. [1] [2] [3]Documentation and Contribution Guidelines:
CLAUDE.mdwith explicit restrictions and workflow guidelines for AI contributors, specifying that only read-only git commands are allowed and that all actions require prior approval.