andrewyng--aisuite
7a7e2f90cd
Providers yield unified OpenAI-shaped chunks: OpenAI/Ollama stream natively, Anthropic events are normalized, and other providers get an async bridge over any sync stream. Streaming is manual tool calling only (no max_turns/MCP).
11 行
289 B
Python
11 行
289 B
Python
from .provider_interface import ProviderInterface
|
|
from .chat_completion_response import ChatCompletionResponse
|
|
from .chat_completion_chunk import (
|
|
ChatCompletionChunk,
|
|
ChoiceDelta,
|
|
ChoiceDeltaFunction,
|
|
ChoiceDeltaToolCall,
|
|
StreamChoice,
|
|
)
|
|
from .message import Message
|