mirror of
https://github.com/NCBM/plyngent.git
synced 2026-07-23 05:55:16 +08:00
core/agent: document chat_completions_raw_lines as optional
This commit is contained in:
@@ -13,7 +13,10 @@ if TYPE_CHECKING:
|
|||||||
|
|
||||||
|
|
||||||
class ChatClient(Protocol):
|
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
|
@overload
|
||||||
async def chat_completions(
|
async def chat_completions(
|
||||||
|
|||||||
Reference in New Issue
Block a user