Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: Add model to context length mapping for gpt-4o-mini #2442

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

kk-src
Copy link
Contributor

@kk-src kk-src commented Feb 18, 2025

Please describe the purpose of this pull request.
Adds support for gpt-4o-mini model in the context length conversion of Azure OpenAI code.

How to test
When deploying the gpt-4o-mini on Azure, the agent would pick invalid context length. With this change you can deploy and test against gpt-4o-mini.

Have you tested this PR?
Tested manually by deploying gpt-4o-mini with Azure OpenAI.

Related issues or PRs
N/A

Is your PR over 500 lines of code?
N/A

Additional context
N/A

@sarahwooders sarahwooders merged commit 5502490 into letta-ai:main Feb 20, 2025
5 of 6 checks passed
@kk-src kk-src deleted the azure_add_gpt-mini branch February 20, 2025 07:10
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants