You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An LMP tool @ell.tool(exempt_from_tracking=True) will also return a 3-tuple, causing ValidationError in ToolCall.call_and_collect_as_content_block method: message.py
ValidationError: 1 validation error for ContentBlock tool_result
LMPs registered with
@ell.simple/complex/tool
return different shapes with differentexempt_from_tracking
settings.For example, when
exempt_from_tracking=False
, LMP returns a message as expected:But when
exempt_from_tracking=True
, LMP returns a 3 tuple:The docs should really mention this weird side effect. Took me quite a while to figure it out.
The text was updated successfully, but these errors were encountered: