mirror of
https://github.com/NCBM/plyngent.git
synced 2026-07-23 05:55:16 +08:00
core/lmproto: move Responses API into openai package
openai_compatible stays chat-completions-only; OpenAI provider uses lmproto.openai.OpenAIClient.
This commit is contained in:
@@ -3,9 +3,8 @@ from __future__ import annotations
|
||||
import msgspec
|
||||
import pytest
|
||||
|
||||
from plyngent.lmproto.openai_compatible.client import OpenAIClient
|
||||
from plyngent.lmproto.openai_compatible.config import OpenAIConfig
|
||||
from plyngent.lmproto.openai_compatible.responses_model import (
|
||||
from plyngent.lmproto.openai import (
|
||||
OpenAIClient,
|
||||
Response,
|
||||
ResponseDeleted,
|
||||
ResponseFunctionTool,
|
||||
@@ -15,6 +14,7 @@ from plyngent.lmproto.openai_compatible.responses_model import (
|
||||
response_function_calls,
|
||||
response_output_text,
|
||||
)
|
||||
from plyngent.lmproto.openai_compatible.config import OpenAIConfig
|
||||
|
||||
|
||||
def _sample_response_body() -> bytes:
|
||||
|
||||
Reference in New Issue
Block a user