octimot / StoryToolkitAI

An editing tool that uses AI to transcribe, understand content and search for anything in your footage, integrated with ChatGPT and other AI models
GNU General Public License v3.0
697 stars 56 forks source link

Invalid Assistant authentication key #181

Closed g1ra closed 4 months ago

g1ra commented 4 months ago

I got my key from patreon , but after entering to the setting window, and restart the app, then still I can't chat with the assistant. I'm getting error :

2024-05-18 09:04:56,594 - StAI - ERROR: Error sending query to storytoolkit.ai:  (assistant.py:655)
Traceback (most recent call last):
  File "c:\StoryToolkitAI\StoryToolkitAI\storytoolkitai\..\storytoolkitai\core\toolkit_ops\assistant.py", line 595, in _request
    raise Exception('Invalid authentication key.')
Exception: Invalid authentication key.
2024-05-18 09:06:52,345 - StAI - DEBUG: Context is empty. Ignoring add context request. (assistant.py:236)
2024-05-18 09:06:52,449 - StAI - DEBUG: Closing window: assistant_settings (toolkit_ui.py:2088)
2024-05-18 09:06:55,916 - StAI - WARNING: Invalid Assistant authentication key: {"detail":"Invalid authentication key: error 1."} (assistant.py:594)
2024-05-18 09:06:55,916 - StAI - ERROR: Error sending query to storytoolkit.ai:  (assistant.py:655)
Traceback (most recent call last):
  File "c:\StoryToolkitAI\StoryToolkitAI\storytoolkitai\..\storytoolkitai\core\toolkit_ops\assistant.py", line 595, in _request
    raise Exception('Invalid authentication key.')
Exception: Invalid authentication key.
2024-05-18 09:07:15,412 - StAI - DEBUG: Closing window: preferences (toolkit_ui.py:2088)