Directory rename (git mv, history preserved) plus rewrite of all references: absolute imports in tests, the zero-dep runner, docstrings, comments, and the README. No behavior change. Run: python3 -m pytest v2/tests/ -q ; python3 v2/run_tests.py ; python3 -m v2.examples
10 lines
470 B
Python
10 lines
470 B
Python
"""Serving plane — our own OpenAI-compatible worker server (stdlib asyncio, no framework dep)."""
|
|
from __future__ import annotations
|
|
|
|
from .http import HttpServer, Request, Response
|
|
from .protocol import ChatCompletionRequest, ImageGenerationRequest, VideoGenerationRequest
|
|
from .server import OmniOpenAIServer
|
|
|
|
__all__ = ["OmniOpenAIServer", "HttpServer", "Request", "Response",
|
|
"ImageGenerationRequest", "VideoGenerationRequest", "ChatCompletionRequest"]
|