claude-agent-sdk-python icon indicating copy to clipboard operation
claude-agent-sdk-python copied to clipboard

Support reprs for message types

Open blois opened this issue 5 months ago • 1 comments

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.

blois avatar Jul 20 '25 18:07 blois

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!

tarun2684 avatar Jul 21 '25 04:07 tarun2684