claude-agent-sdk-python
claude-agent-sdk-python copied to clipboard
Support reprs for message types
We should make it easy to display messages by default, so helpers such as https://github.com/anthropics/claude-code-sdk-python/blob/c4384ead710e2c264f13524ce63a985a31b43e3c/examples/streaming_mode.py#L34 are not needed.
Hi @blois, I'd like to take this issue up! I’m happy to work on adding a suitable repr or str method for the message types to improve their default display behavior. Let me know if there are any specific classes or edge cases I should be aware of before I get started. Thanks!