Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
a83c4df
feat(sandbox): code interpreter interceptor on the Responses API
krrish-berri-2 Jun 21, 2026
775eaf8
feat(sandbox): re-inject code_interpreter_call so the response matche…
krrish-berri-2 Jun 21, 2026
7e8e304
feat(sandbox): support streaming for the code interpreter interceptor
krrish-berri-2 Jun 21, 2026
17f0098
fix(lint): use builtin generics in code interpreter interceptor to sa…
krrish-berri-2 Jun 21, 2026
b2648f3
fix(code-interpreter): gate sandbox execution, delete sandboxes, hard…
krrish-berri-2 Jun 21, 2026
f4e59f9
fix(lint): use PEP 604 X | None unions to satisfy UP045 budget
krrish-berri-2 Jun 21, 2026
26d9a10
test(code-interpreter): cover execution-error and unparseable-argumen…
krrish-berri-2 Jun 21, 2026
8b9a557
fix(code-interpreter): rewrite forced code_interpreter tool_choice to…
krrish-berri-2 Jun 21, 2026
9cdd9e6
test(sandbox): cover sandbox-tool registry resolution, reload clearin…
krrish-berri-2 Jun 21, 2026
d7e2864
test(code-interpreter): cover dict-shaped responses and object-attrib…
krrish-berri-2 Jun 21, 2026
722a976
fix(proxy): strip client-supplied _code_interpreter_interception_conv…
krrish-berri-2 Jun 21, 2026
ac87cf4
fix(code-interpreter): isolate sandboxes by server-minted key and cle…
krrish-berri-2 Jun 21, 2026
99908ca
refactor(sandbox): swap the tool registry atomically on reload
krrish-berri-2 Jun 21, 2026
935424f
fix(code-interpreter): cap caller loop limit and emit OpenAI-shaped o…
krrish-berri-2 Jun 21, 2026
61bda40
fix(sandbox): skip malformed sandbox_tools entries instead of crashin…
krrish-berri-2 Jun 21, 2026
002f067
chore: re-trigger CI and review on sandbox_tools hardening
krrish-berri-2 Jun 21, 2026
66594ad
chore: drop the code interpreter interception docs page from this PR
krrish-berri-2 Jun 21, 2026
1a79c09
fix(code-interpreter): delete sandbox in a finally when the agentic r…
krrish-berri-2 Jun 21, 2026
ecee105
fix(sandbox): skip tool entries missing sandbox_provider and keep UP0…
krrish-berri-2 Jun 21, 2026
c9ad727
fix(code-interpreter): delete cached sandbox when plan building fails
krrish-berri-2 Jun 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions litellm/integrations/code_interpreter_interception/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"""
Code Interpreter Interception Module

Converts the native OpenAI Responses ``code_interpreter`` tool into a function
tool, runs the model-emitted code in a sandbox, and feeds the result back into
the agentic loop.
"""

from litellm.integrations.code_interpreter_interception.handler import (
CodeInterpreterInterceptionLogger,
)

__all__ = [
"CodeInterpreterInterceptionLogger",
]
Loading
Loading