core/agent: document chat_completions_raw_lines as optional

This commit is contained in:
2026-07-14 22:11:25 +08:00
parent 49eff9c947
commit 42b50716f4
+4 -1
View File
@@ -13,7 +13,10 @@ if TYPE_CHECKING:
class ChatClient(Protocol):
"""Structural protocol for OpenAI-compatible chat completion clients."""
"""Structural protocol for OpenAI-compatible chat completion clients.
``chat_completions_raw_lines`` is optional (checked dynamically in the loop).
"""
@overload
async def chat_completions(