Skip to content

Commit 1d86b97

Browse files
kas140472Kriti Shukla
andauthored
fix: Disable LiteLLM document inlining for Fireworks images (#418)
Co-authored-by: Kriti Shukla <kritishukla@Kritis-MacBook-Pro.local>
1 parent b667a6d commit 1d86b97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eval_protocol/mcp/execution/policy.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222

2323
logger = logging.getLogger(__name__)
2424

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

2629
class LiteLLMPolicy(LLMBasePolicy):
2730
"""

0 commit comments

Comments
 (0)