add: 添加命令ai model list的逻辑

This commit is contained in:
taylor
2024-10-13 18:53:42 +08:00
parent 7e1af58c84
commit dc5162b662
3 changed files with 36 additions and 0 deletions

View File

@@ -54,6 +54,9 @@ class Platform:
async def create_chat_completion(self, plugin: Plugin, evt: MessageEvent) -> ChatCompletion:
raise NotImplementedError()
async def list_models(self) -> List[str]:
raise NotImplementedError()
def get_type(self) -> str:
raise NotImplementedError()