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

refactor: Migrate ChatOpenAI to maxCompletionTokens #557

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

davidmigloz
Copy link
Owner

@davidmigloz davidmigloz commented Sep 25, 2024

maxTokens is deprecated in favor of maxCompletionTokens in the OpenAI API, and is not compatible with o1 series models.

@davidmigloz davidmigloz self-assigned this Sep 25, 2024
@davidmigloz davidmigloz added the p:langchain_openai langchain_openai package. label Sep 25, 2024
@davidmigloz davidmigloz added this to the v0.8.0 milestone Sep 25, 2024
@davidmigloz davidmigloz merged commit 08057a5 into main Sep 25, 2024
3 checks passed
@davidmigloz davidmigloz deleted the maxCompletionTokens branch September 25, 2024 21:47
KennethKnudsen97 pushed a commit to KennethKnudsen97/langchain_dart that referenced this pull request Oct 1, 2024
KennethKnudsen97 pushed a commit to KennethKnudsen97/langchain_dart that referenced this pull request Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p:langchain_openai langchain_openai package.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant