diff options
| author | salmonik <raisersoft@proton.me> | 2026-04-23 21:47:15 +0200 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-04-23 21:47:15 +0200 |
| commit | ed9fd1b9852fee073a561d1405568d3b632c3141 (patch) | |
| tree | 005991ac53f97efafd3277af1475e161ef3a9a19 | |
| parent | Merge pull request 'massive changes' (#3) from dev into main (diff) | |
| download | senator-sperma-ed9fd1b9852fee073a561d1405568d3b632c3141.tar.gz senator-sperma-ed9fd1b9852fee073a561d1405568d3b632c3141.zip | |
chore: update the ai model for assistant.py
Signed-off-by: salmonik <raisersoft@proton.me>
Diffstat (limited to '')
| -rw-r--r-- | cogs/assistant.py | 4 |
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 | ||
| 17 | logger = logging.getLogger(__name__) | 17 | logger = logging.getLogger(__name__) |
| 18 | 18 | ||
| 19 | AI_MODEL = "z-ai/glm-4.5-air:free" | ||
| 20 | |||
| 19 | class Jarvis(commands.Cog): | 21 | class 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"}] |
