update: 增加了智谱大模型,增加了修改max_tokens接口

This commit is contained in:
killua committed 2024-06-20 14:12:51 +08:00
1 parent 5a47440e0f
commit 6354fe49f0
5 files changed
+72 -7

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ class ASR(ABC):
def __init__(self):
self.is_slience = False
@abstractmethod
async def stream_recognize(self, chunk):
async def stream_recognize(self, assistant, chunk):
pass
class LLM(ABC):