Skip to content

Commit 916797b

Browse files
author
邱梓咸
committed
添加openai风格服务端支持
1 parent c1a0d19 commit 916797b

File tree

4 files changed

+1015
-0
lines changed

4 files changed

+1015
-0
lines changed

lagent/llms/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
)
1313
from .meta_template import INTERNLM2_META
1414
from .openai import GPTAPI, AsyncGPTAPI
15+
from .openai_style import GPTStyleAPI, AsyncGPTStyleAPI
1516
from .sensenova import SensenovaAPI
1617
from .vllm_wrapper import AsyncVllmModel, VllmModel
1718

@@ -22,6 +23,7 @@
2223
'BaseAPILLM',
2324
'AsyncGPTAPI',
2425
'GPTAPI',
26+
'GPTStyleAPI', 'AsyncGPTStyleAPI',
2527
'LMDeployClient',
2628
'AsyncLMDeployClient',
2729
'LMDeployPipeline',

0 commit comments

Comments
 (0)