chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-02-12 16:13:48 -06:00
parent 3238d94a0e
commit 2a11175f22
65 changed files with 204 additions and 92 deletions

View File

@@ -4125,8 +4125,7 @@ async def streaming_chat_response_handler(response, ctx):
code = sanitize_code(code)
if CODE_INTERPRETER_BLOCKED_MODULES:
blocking_code = textwrap.dedent(
f"""
blocking_code = textwrap.dedent(f"""
import builtins
BLOCKED_MODULES = {CODE_INTERPRETER_BLOCKED_MODULES}
@@ -4142,8 +4141,7 @@ async def streaming_chat_response_handler(response, ctx):
return _real_import(name, globals, locals, fromlist, level)
builtins.__import__ = restricted_import
"""
)
""")
code = blocking_code + "\n" + code
if (