Skip to content

docs(proxy): document MAX_STRING_LENGTH_PROVIDER_SIGNED_IN_DB and the 2048 prompt cap default - #3250

Merged
mateo-berri merged 1 commit into
BerriAI:mainfrom
linhqm:litellm_spend_log_provider_signed_cap
Nov 23, 2026
Merged

mateo-berri merged 1 commit into
BerriAI:mainfrom
linhqm:litellm_spend_log_provider_signed_cap

Conversation

@linhqm

@linhqm linhqm commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Documents MAX_STRING_LENGTH_PROVIDER_SIGNED_IN_DB, the env var BerriAI/litellm#53753 adds on main and BerriAI/litellm#53765 adds on the 1.108 LTS line. It caps how much of a provider-signed reasoning field (a signed Claude thinking block with its text, encrypted_content, a Gemini thought signature) a spend log row keeps for a /v1/responses call that LiteLLM serves through chat completions, so a previous_response_id follow-up can send it back unchanged

It also corrects the MAX_STRING_LENGTH_PROMPT_IN_DB default from 1000 to 2048, the value litellm/constants.py uses, and says the signed cap wins for those fields when it is larger

This one merges before both code PRs, because their env key docs test reads this table from litellm-docs main

@vercel

vercel Bot commented Nov 23, 2026

Copy link
Copy Markdown

@mateo-berri is attempting to deploy a commit to the Berri AI Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
litellm Ready Ready Preview Nov 23, 2026 5:40pm UTC

Request Review

@mateo-berri
mateo-berri merged commit 2447fbe into BerriAI:main Nov 23, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — 2bf6862a Deployed Nov 23, 2026 by vercel[bot]
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