Skip to content
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

Fixed issue with o1 in litellm. #493

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JoelNiklaus
Copy link
Contributor

The o1 models throw an error if you feed them with the temperature, top_p or stop sequences.

@HuggingFaceDocBuilderDev
Copy link
Collaborator

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Member

@clefourrier clefourrier left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -91,7 +91,7 @@ def __init__(self, config, env_config) -> None:
self._tokenizer = encode
self.pairwise_tokenization = False
litellm.drop_params = True
litellm.verbose = True
litellm.set_verbose = False
Copy link
Member

Choose a reason for hiding this comment

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

is the verbose vs set_verbose a typo on our end or does it depend on the litellm version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I assume it is the litellm version. I suggest litellm 1.50 since in later versions together_ai models experience issues.

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.

3 participants