Draft
Conversation
This commit refactors the codebase to: 1. Remove subroutine tool in favor of simpler template-based approach 2. Update tool execution to require session context 3. Improve OpenAI and Anthropic tool handling 4. Clean up template and runner APIs 5. Add new benchmark example for LLM bias testing (This commit message is auto-generated with examples/dogfooding/commit_with_auto_generated_comment.py)
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #41 +/- ##
==========================================
- Coverage 82.88% 81.22% -1.67%
==========================================
Files 30 29 -1
Lines 2150 2146 -4
==========================================
- Hits 1782 1743 -39
- Misses 368 403 +35 ☔ View full report in Codecov by Sentry. |
Remove configuration property from Model class and use constructor-based initialization for cleaner code organization. (This commit message is auto-generated with examples/dogfooding/commit_with_auto_generated_comment.py)
3a93ff5 to
2593257
Compare
Remove redundant `session=` keyword argument when calling `model.send()` since it's the only positional argument in the method signature. This change simplifies the API usage while maintaining functionality. (This commit message is auto-generated with examples/dogfooding/commit_with_auto_generated_comment.py)
Refactor UserInteractionEvent to include message role and update the CommandLineRunner to display message info consistently. This improves code organization and user feedback during interactions. (This commit message is auto-generated with examples/dogfooding/commit_with_auto_generated_comment.py)
- Make tool calls more robust with type coercion - Add optional tool_id for Anthropic compatibility - Properly restore session.available_tools after execution - Add logging setup in coding_agent example (This commit message is auto-generated with examples/dogfooding/commit_with_auto_generated_comment.py)
Update documentation and examples to use simplified model constructor syntax, following the API changes in the previous commit. (This commit message is auto-generated with examples/dogfooding/commit_with_auto_generated_comment.py)
|
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.



No description provided.