diff --git a/maubot_llmplus/local_paltform.py b/maubot_llmplus/local_paltform.py index f61b376..5e4e452 100644 --- a/maubot_llmplus/local_paltform.py +++ b/maubot_llmplus/local_paltform.py @@ -47,7 +47,7 @@ class Ollama(Platform): if response.status != 200: return [] response_data = await response.json() - return [model['name'] for model in response_data['models']] + return [f"{i + 1}: {model['name']}" for i, model in response_data['models']] def get_type(self) -> str: return "local_ai"