add: 添加ollama调用AI chat逻辑
This commit is contained in:
@@ -49,7 +49,7 @@ class Platform:
|
||||
调用AI对话接口, 响应结果
|
||||
"""
|
||||
|
||||
async def create_chat_completion(self, evt: MessageEvent) -> ChatCompletion:
|
||||
async def create_chat_completion(self, plugin: Plugin, evt: MessageEvent) -> ChatCompletion:
|
||||
raise NotImplementedError()
|
||||
|
||||
def get_type(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user