aboutsummaryrefslogtreecommitdiffstats
path: root/cogs/assistant.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cogs/assistant.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cogs/assistant.py b/cogs/assistant.py
index 21e4989..6cc1b03 100644
--- a/cogs/assistant.py
+++ b/cogs/assistant.py
@@ -16,6 +16,8 @@ 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
19class Jarvis(commands.Cog): 21class Jarvis(commands.Cog):
20 def __init__(self, bot): 22 def __init__(self, bot):
21 self.bot = bot 23 self.bot = bot
@@ -100,7 +102,7 @@ class Jarvis(commands.Cog):
100 @staticmethod 102 @staticmethod
101 def _build_payload(messages): 103 def _build_payload(messages):
102 return { 104 return {
103 "model": "arcee-ai/trinity-large-preview:free", 105 "model": AI_MODEL,
104 "messages": messages, 106 "messages": messages,
105 "response_format": Jarvis._get_response_schema(), 107 "response_format": Jarvis._get_response_schema(),
106 "plugins": [{"id": "response-healing"}] 108 "plugins": [{"id": "response-healing"}]