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
Type LLM streaming, message, and tokenizer boundaries #4976
LLM streaming wrappers, provider messages, tokenizer outputs, optional transformer loading, and response events should be represented by explicit protocols or adapter functions. Core LLM logic should consume those typed contracts with direct access instead of probing provider objects dynamically.
The fix in #4772 remains authoritative for the yielded-versus-wrapper completed-response bug; this work should build on or avoid conflicting with it.
Scope
Streaming/event and tokenizer access in llm.py
Provider message normalization in message.py and mixins/non_native_fc.py
OpenAI auth capability access
Excludes telemetry normalization and retry metadata
Acceptance Criteria
Streaming completion wrappers and response events have explicit typed contracts.
Tokenizer and optional-transformer capabilities are isolated behind typed adapters.
Provider message reasoning/thinking fields are normalized once before core message conversion.
Activity
github-actions commentedon Sep 12, 2026
✅
ready-for-devlabel appliedThis issue meets the readiness criteria and is ready for contribution.
A contributor can now open a PR that links this issue (
Fixes #<number>).This is an automated check — no AI was used to generate this comment.