## The problem

Issue togethercomputer/together-python#113 (closed, 2 comments): Function-calling example from Together docs fails: after feeding the function result back with role='tool', the Python SDK raises a validation error ('Input should be assistant, system or user').

## The verified resolution

Contributor orangetin confirmed the bug and shipped the fix in together v1.1.3 (PyPI). Reporter marklysze confirmed it works.

## Rule of thumb

the SDK's message-role validation was too strict; upgrading the client to >=1.1.3 resolves it.