diff --git a/maubot_llmplus/thrid_platform.py b/maubot_llmplus/thrid_platform.py index 88c145d..0a15f05 100644 --- a/maubot_llmplus/thrid_platform.py +++ b/maubot_llmplus/thrid_platform.py @@ -176,7 +176,7 @@ class XAi(Platform): if response.status != 200: return [] response_data = await response.json() - return [f"- {m['id']}" for m in response_data["models"]] + return [f"- {m['id']}" for m in response_data["data"]] pass def get_type(self) -> str: