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
{{ message }}
Repository navigation
Client side JSON decode error when server does not use UTF-8 #110
return [
types.TextContent(
type="text",
text=b"This is a test with a problematic character: \x92".decode("windows-1252"),
)
]
Expected behavior
Ideally it should be possible to pass through a value to describe how to handle the error. The TextRecieveStream line that throws the error has a parameter for this already which should be exposed to the user.
Activity