Skip to content

Override litellm max input tokens with env var#8

Merged
AndreFCruz merged 2 commits intomainfrom
cursor/override-litellm-max-input-tokens-with-env-var-004b
Aug 21, 2025
Merged

Override litellm max input tokens with env var#8
AndreFCruz merged 2 commits intomainfrom
cursor/override-litellm-max-input-tokens-with-env-var-004b

Conversation

@AndreFCruz
Copy link
Owner

Add MAX_INPUT_TOKENS_OVERRIDE environment variable to allow overriding potentially incorrect max_input_tokens values reported by LiteLLM.


Open in Cursor Open in Web

Co-authored-by: andrecruz97 <andrecruz97@gmail.com>
@cursor
Copy link

cursor bot commented Aug 21, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Co-authored-by: andrecruz97 <andrecruz97@gmail.com>
@AndreFCruz AndreFCruz marked this pull request as ready for review August 21, 2025 10:52
@AndreFCruz AndreFCruz merged commit d8d6d54 into main Aug 21, 2025
8 checks passed
@AndreFCruz AndreFCruz deleted the cursor/override-litellm-max-input-tokens-with-env-var-004b branch August 21, 2025 10:53
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