litellm/litellm/types
Krrish Dholakia c546b58c09
feat: add chat completions code interpreter loop (#31027)
* feat: add chat code interpreter loop

* fix: address code interpreter pr checks

* fix: satisfy strict lint budget

* test: cover chat no-op interception

* fix: address code interpreter review

* fix: clean up agentic loop helpers

* fix: preserve agentic loop controls

* fix: generalize agentic loop params

* fix: carry agentic state via metadata

* fix: restore litellm params helpers

* refactor: move chat code-interpreter loop out of provider code

Dispatch the chat-completions agentic loop from a provider-agnostic
helper (litellm/litellm_core_utils/chat_completion_agentic_loop.py)
called from main.acompletion, instead of from OpenAI provider files.
Register the agentic loop control fields in all_litellm_params so they
stay LiteLLM-level and never become provider payload, removing the need
for the OpenAIGPTConfig scrubber. No litellm/llms/ files are modified for
this feature.

* docs: explain chat agentic loop dispatch and litellm-level param registration

* style: drop Any annotations and use PEP585 generics to satisfy ruff strict budget

* docs: replace module docstring with one-line patch note
2026-06-23 12:13:41 -07:00
..
containers feat(containers): Azure routing, managed container IDs, delete response parsing (#25287) 2026-04-11 09:21:01 -07:00
google_genai fix(mypy): fix scattered 1-off type errors across 14 files 2026-03-13 00:08:57 +00:00
images Litellm oss staging 030626 (#29578) 2026-06-03 11:01:51 -07:00
integrations feat: add chat completions code interpreter loop (#31027) 2026-06-23 12:13:41 -07:00
interactions chore: litellm oss staging (#30968) 2026-06-23 07:31:44 -07:00
litellm_core_utils include server_tool_use in streaming usage (#16826) 2025-11-25 14:50:17 -08:00
llms feat(sandbox): e2b code execution primitive (#30898) 2026-06-20 16:30:01 -07:00
management_endpoints feat: routing groups ui 2026-05-04 18:09:14 -07:00
mcp_server feat(litellm): add models and repository layers (#29686) 2026-06-06 20:59:33 -07:00
passthrough_endpoints fix(proxy): Bedrock Knowledge Base pass-through: preserve SigV4 headers and signed request body (#27526) 2026-05-25 19:21:55 +05:30
prompts style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
proxy feat(scim): ingest enterprise extension attributes into user metadata (#30893) 2026-06-22 12:17:41 -07:00
responses refactor: extract duplicated stdout/stderr → logs logic to shared helper 2026-03-18 22:05:27 -03:00
secret_managers chore: litellm oss staging160626 (#30527) 2026-06-16 18:23:13 -07:00
videos style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
access_group.py allow editing of access group names 2026-02-13 17:03:41 -08:00
adapter.py feat(anthropic_adapter.py): support for translating anthropic params to openai format 2024-07-10 00:32:28 -07:00
agents.py Fix : a2a bugs 030626 (#29566) 2026-06-03 11:14:15 -07:00
caching.py feat(caching): add valkey-semantic cache backend and fix semantic cache scope keys (#30675) 2026-06-19 17:09:17 -07:00
completion.py refactor(completion): extract provider dispatch into typed helpers so basedpyright can analyze it (#30813) 2026-06-23 07:29:31 -07:00
compression.py Prompt Compression - add it to the proxy (#25729) 2026-04-20 15:08:00 -07:00
embedding.py Removed config dict type definition 2024-05-17 10:39:00 +08:00
files.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
fine_tuning.py (feat) POST /fine_tuning/jobs support passing vertex specific hyper params (#7490) 2025-01-01 07:44:48 -08:00
guardrails.py chore: litellm oss staging (#30745) 2026-06-18 13:55:35 -07:00
mcp.py fix(mcp): stop exposing MCP server URLs on the AI Hub and public hub API (#30902) 2026-06-22 11:01:49 -07:00
memory_management.py feat(proxy): add /v1/memory CRUD endpoints (#26218) 2026-04-24 18:38:07 -07:00
policy_engine.py [Feat] New LiteLLM Policy engine - create policies to manage guardrails, conditions - permissions per Key, Team (#19612) 2026-01-22 19:49:53 -08:00
rag.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
realtime.py feat: litellm oss 110626 (#30202) 2026-06-11 22:30:26 -07:00
rerank.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
router.py chore: litellm oss staging (#30745) 2026-06-18 13:55:35 -07:00
scheduler.py Squashed commit of the following: (#9709) 2025-04-02 21:24:54 -07:00
search.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
services.py [Fix] CI/CD - mypy & check_code_and_doc_quality & mcp_testing (#17920) 2025-12-13 08:18:43 -08:00
tag_management.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
tool_management.py Bug Fix: auto-inject prompt caching support for Gemini models (#21881) 2026-03-03 20:25:35 -08:00
utils.py feat: add chat completions code interpreter loop (#31027) 2026-06-23 12:13:41 -07:00
vector_store_files.py Vector store files Stable Release (#16643) 2025-11-15 13:00:33 -08:00
vector_stores.py feat(vector-stores): forward per-request params to Vertex AI Search (#29459) 2026-06-02 12:51:20 -07:00