- Updated OpenAI provider docs with gpt-4o examples
- Updated proxy quickstart and configuration docs
- Updated index.md and set_keys.md
- Updated static llms-full.txt file
This change modernizes the documentation examples to use the
newer gpt-4o model instead of the deprecated gpt-3.5-turbo.
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Update model strings across OpenRouter, Azure, caching, LangChain, Letta,
and related docs using StrReplace (replace_all) for consistency with gpt-4o.
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Update tutorial snippets and tables to reference gpt-4o instead of
gpt-3.5-turbo across 16 documentation files.
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Update model name strings across proxy documentation pages for consistency
with current OpenAI model guidance.
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Update example model names across virtual keys, users, keys, onboarding,
reliability, projects, team routing, model management, logging, timeouts,
provider budgets, service accounts, pass-through, tag routing, and token auth.
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
The special name check (all_team_servers, all_proxy_servers) was an elif
after the server_id-is-not-None check, making it unreachable since special
names are non-None strings. Split into separate if blocks so the special
name guard runs before the duplicate-ID check.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The team MCP manager feature was reverted in PR #24255, so the test
needs to go back to the original single auth failure test that expects
a 403 for non-admin users.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The test_create_mcp_server_auth_failure test expected a 403 for non-admin
users, but the team MCP manager feature changed the auth flow to first
check for team_id (400) before checking permissions. Split into two tests:
one for missing team_id (400) and one for non-manager rejection (403).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fixes CI failure in test_api_docs.py which validates that all Pydantic
model fields are documented in endpoint docstrings.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add pytest.importorskip("mcp") at module level so tests skip cleanly
in CI environments without the mcp package (instead of ImportError)
- Import LiteLLM_TeamTableCachedObj into MCP_AVAILABLE block so type
annotations resolve for static analysis and get_type_hints()
- Remove string quotes from type annotations now that the import exists
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(moonshot): preserve reasoning_content on Pydantic Message objects in multi-turn tool calls
The condition 'reasoning_content not in msg' doesn't work correctly for
Pydantic Message objects because they don't support the 'in' operator
like dicts do. This caused reasoning_content to be stripped from
assistant messages in multi-turn conversation history.
Changed the condition to use msg.get('reasoning_content') instead,
which works correctly for both dicts and Pydantic models.
Fixes#23765
* added newline eof
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* Update tests/test_litellm/llms/moonshot/test_moonshot_chat_transformation.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* Simplify assertions in test_moonshot_chat_transformation
Removed redundant assertions for non-assistant messages.
---------
Co-authored-by: BillionClaw <267901332+BillionClaw@users.noreply.github.com>
Co-authored-by: Aarish Alam <arishalam121@gmail.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>