diff --git a/maubot_llmplus/thrid_platform.py b/maubot_llmplus/thrid_platform.py index f6cd84d..2003b5c 100644 --- a/maubot_llmplus/thrid_platform.py +++ b/maubot_llmplus/thrid_platform.py @@ -26,7 +26,7 @@ class OpenAi(Platform): headers = { "Content-Type": "application/json", - "Authorization": f"Bearer {self.config['gpt_api_key']}" + "Authorization": f"Bearer {self.api_key}" } data = { "model": self.model,