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
- [critical] thread._fallback_stream: wrap the placeholder-clear
edit_message(" ") in try/except so Telegram (which raises
ValidationError on whitespace-only text) logs and falls back to
upstream's stranded-placeholder behavior instead of propagating
a crash up through thread.post().
- [major] pyrefly python-version 3.11 -> 3.10 to match
requires-python. Otherwise type-check target drifts ahead of the
package's claimed support floor.
- [major] test_chat_faithful.py: the fallback-streaming test now
verifies the final posted markdown is "Hi", not just that some
post happened on the right thread.
- [minor] test_thread_faithful.py: three "no empty content" tests
were vacuous — they iterated PostableMarkdown calls inside an
isinstance guard but never asserted that any calls happened, so
the tests passed even if the SDK emitted nothing. Now assert at
least one matching call before checking content.
- [nit] channel.py / thread.py from_json: replace `or` truthiness
chain on camel-to-snake fallback keys with explicit None checks.
`""` is a valid-but-falsy value that shouldn't silently fall
through to the alias.
https://claude.ai/code/session_01XE1bMoQ5BjCvgi1iLGKKhG
0 commit comments