Skip to content

docs(interactions): document LITELLM_USE_LEGACY_INTERACTIONS_SCHEMA env var#149

Open
Sameerlite wants to merge 3 commits into
BerriAI:mainfrom
Sameerlite:litellm_interactions_api_steps_migration
Open

docs(interactions): document LITELLM_USE_LEGACY_INTERACTIONS_SCHEMA env var#149
Sameerlite wants to merge 3 commits into
BerriAI:mainfrom
Sameerlite:litellm_interactions_api_steps_migration

Conversation

@Sameerlite
Copy link
Copy Markdown
Collaborator

@Sameerlite Sameerlite commented May 18, 2026

Summary

  • Adds LITELLM_USE_LEGACY_INTERACTIONS_SCHEMA to the environment variables reference table in config_settings.md
  • This env var controls whether LiteLLM uses the legacy Google Interactions API schema (outputs array, Api-Revision: 2026-05-07) or the new schema (steps array, Api-Revision: 2026-05-20)
  • Required to fix the documentation_test_env_keys CI check in the main litellm repo (PR #28153)

Related PR

BerriAI/litellm#28153

Made with Cursor


Note

Low Risk
Docs-only changes that add new configuration reference entries and usage guidance; no runtime behavior is modified.

Overview
Adds documentation for weighted failover in simple-shuffle routing via a new router_settings.enable_weighted_failover flag, including behavior notes, config examples, and an end-to-end walkthrough.

Updates the proxy config reference to include the new enable_weighted_failover setting and documents the LITELLM_USE_LEGACY_INTERACTIONS_SCHEMA environment variable for selecting the legacy vs. new Google Interactions schema.

Reviewed by Cursor Bugbot for commit 572dd40. Bugbot is set up for automated code reviews on this repo. Configure here.

Sameerlite and others added 3 commits May 15, 2026 12:00
Co-authored-by: Cursor <cursoragent@cursor.com>
Explains enable_weighted_failover behavior, scope (simple-shuffle only,
async-only, skipped for context-window/content-policy errors), interaction
with `order`, and a worked walkthrough. Adds an SDK + proxy config example
covering the common multi-region Azure setup.

Co-authored-by: Cursor <cursoragent@cursor.com>
…nv var

Add documentation for the new env var that controls the Google Interactions
API schema version (new steps-based vs legacy outputs-based) to the
environment variables reference table.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Sameerlite Sameerlite requested a review from a team May 18, 2026 08:33
@vercel
Copy link
Copy Markdown

vercel Bot commented May 18, 2026

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

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview, Comment May 18, 2026 8:40am

Request Review

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.

1 participant