add: 添加ollama调用AI chat逻辑
This commit is contained in:
@@ -45,4 +45,10 @@ class Ollama(Platform):
|
||||
|
||||
|
||||
class LmStudio(Platform):
|
||||
pass
|
||||
|
||||
def __init__(self, config: BaseProxyConfig, http: ClientSession) -> None:
|
||||
super().__init__(config, http)
|
||||
pass
|
||||
|
||||
async def create_chat_completion(self, evt: MessageEvent) -> ChatCompletion:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user