aboutsummaryrefslogtreecommitdiffstats
path: root/cogs/assistant.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cogs/assistant.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/cogs/assistant.py b/cogs/assistant.py
index a89c356..a91d027 100644
--- a/cogs/assistant.py
+++ b/cogs/assistant.py
@@ -16,8 +16,6 @@ from cogs.downloader import Downloader
16 16
17logger = logging.getLogger(__name__) 17logger = logging.getLogger(__name__)
18 18
19AI_MODEL = "z-ai/glm-4.5-air:free"
20
21class Jarvis(commands.Cog): 19class Jarvis(commands.Cog):
22 def __init__(self, bot): 20 def __init__(self, bot):
23 self.bot = bot 21 self.bot = bot
@@ -102,7 +100,7 @@ class Jarvis(commands.Cog):
102 @staticmethod 100 @staticmethod
103 def _build_payload(messages): 101 def _build_payload(messages):
104 return { 102 return {
105 "model": AI_MODEL, 103 "model": os.getenv("OPENROUTER_MODEL"),
106 "messages": messages, 104 "messages": messages,
107 "response_format": Jarvis._get_response_schema(), 105 "response_format": Jarvis._get_response_schema(),
108 "plugins": [{"id": "response-healing"}] 106 "plugins": [{"id": "response-healing"}]