Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions eval_protocol/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
import warnings
from typing import TYPE_CHECKING

import litellm

litellm.disable_add_transform_inline_image_block = True

warnings.filterwarnings("default", category=DeprecationWarning, module="eval_protocol")

# Eager imports for symbols that conflict with module names - ONLY when pytest is running.
Expand Down
3 changes: 0 additions & 3 deletions eval_protocol/mcp/execution/policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@

logger = logging.getLogger(__name__)

# Disable LiteLLM's document inlining feature that appends #transform=inline
# to base64 image URLs, which breaks base64 decoding
litellm.disable_add_transform_inline_image_block = True

class LiteLLMPolicy(LLMBasePolicy):
"""
Expand Down
Loading