-
Notifications
You must be signed in to change notification settings - Fork 34
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
Feat/mech support #160
Feat/mech support #160
Conversation
Add lock check
Feat/bump openai
# Conflicts: # tools/prediction_request/prediction_request.py # tools/prediction_request_sme/prediction_request_sme.py
import logging | ||
from typing import Any, Dict, Union | ||
|
||
import anthropic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why? That seems strange to include here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if "claude" in model: | ||
return anthropic.Anthropic().count_tokens(text) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The benchmark utils needs to be agnostic to this
Req. changes will be addressed in another PR. |
This PR adds support in the mech for the changes proposed in #155 .