Skip to content

Fix mistralai test cases #438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 5, 2025
Merged

Fix mistralai test cases #438

merged 5 commits into from
Aug 5, 2025

Conversation

bitterpanda63
Copy link
Member

No description provided.

Base automatically changed from add-openai-test-cases to main August 5, 2025 14:59
@bitterpanda63 bitterpanda63 merged commit 8c09d19 into main Aug 5, 2025
63 of 69 checks passed
@bitterpanda63 bitterpanda63 deleted the fix-mistralai-test-cases branch August 5, 2025 15:00
@@ -16,6 +16,20 @@ def _messages_create(func, instance, args, kwargs, return_value):
)


@after_async
async def _messages_create_async(func, instance, args, kwargs, return_value):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function '_messages_create_async' lacks clear purpose indication - no descriptive name, docstring, or return type hint to clarify it's a tracking callback More info

output_tokens=return_value.usage.output_tokens,
)


@on_import("anthropic.resources.messages")
def patch(m):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function 'patch' lacks clear purpose indication - generic name without docstring or return type hint to clarify its role in API monitoring More info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants