fix: improve git commit prompt to handle staged changes better#533
Merged
Conversation
Enhances the Anthropic provider implementation with debug logging statements to improve troubleshooting capabilities. Includes: - Added debug logs for API calls and responses - Improved error handling for better diagnostics - Refactored model fetching into separate method
Improves code organization by renaming the OpenRouter implementation file from api.rs to provider.rs to be more consistent with other provider implementations in the codebase. Updates the corresponding module references.
tusharmath
force-pushed
the
debug-statements
branch
from
March 17, 2025 11:14
3268b7f to
9aea8de
Compare
…ropic and OpenRouter providers
tusharmath
enabled auto-merge (squash)
March 18, 2025 03:16
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.
Overview
This PR adds comprehensive debug logging to the Anthropic provider and standardizes naming conventions by renaming
open_router/api.rstoprovider.rs.Purpose
These changes improve the debugging experience when troubleshooting API interactions with Anthropic and ensure consistent naming patterns across provider implementations.
Implementation
api.rstoprovider.rsfor naming consistencyTesting
The changes have been tested locally to ensure:
Related Issues
No specific issues linked, but these changes address general debugging needs identified during development.
Changelog
Added
Changed
Suggested Reviewers
Developers familiar with the provider implementations and API integrations would be most helpful in reviewing these changes.