diff --git a/maubot_llmplus/thrid_platform.py b/maubot_llmplus/thrid_platform.py index 3231951..8b69a4d 100644 --- a/maubot_llmplus/thrid_platform.py +++ b/maubot_llmplus/thrid_platform.py @@ -138,7 +138,7 @@ class XAi(Platform): "Authorization": f"Bearer {self.api_key}" } request_body = { - "message": full_context, + "messages": full_context, "model": self.model, "stream": False }