Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Chat Feature Not Working - Getting error 404 #86

Open
gitme1now opened this issue Jan 1, 2025 · 1 comment
Open

Basic Chat Feature Not Working - Getting error 404 #86

gitme1now opened this issue Jan 1, 2025 · 1 comment

Comments

@gitme1now
Copy link

gitme1now commented Jan 1, 2025

Having an issue just using the basic Chat feature in gpt-4o, or gpt-4, getting this error =

Error code: 404 - {'error': {'message': 'The model gpt-4o does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}

...i am unable to find any answers to this issue. i thought all the Models came already built into PyGPT, just need to add the API Key, which i did, and followed the install instruction exactly and had zero issues installing it.

...and not only does the basic chat feature not work for me, i cannot access any mic and when i try to use the mic i get this error =

Exception: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Type: TypeErrorMessage: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback: File "/snap/pygpt/338/src/pygpt_net/plugin/audio_input/simple.py", line 88, in start_recording
device_id = int(self.plugin.window.core.config.get('audio.input.device', 0))

....and when i go to setting in PyGPT there is no mic to chose from, but yet in the Zorin OS settings i see all the mics and they work fine on every other program using a mic....

When i try to use the VOICE CONTROL i get this error =

Exception: [Errno -9996] Invalid input device (no default output device)
Type: OSErrorMessage: [Errno -9996] Invalid input device (no default output device)
Traceback: File "/snap/pygpt/338/src/pygpt_net/controller/access/voice.py", line 245, in start_recording
self.stream = self.p.open(format=pyaudio.paInt16,
File "/snap/pygpt/338/lib/python3.10/site-packages/pyaudio/init.py", line 639, in open
stream = PyAudio.Stream(self, *args, **kwargs)
File "/snap/pygpt/338/lib/python3.10/site-packages/pyaudio/init.py", line 441, in init
self._stream = pa.open(**arguments)

i try adding the recommended = sudo snap connect pygpt:audio-record :audio-record ...and still no mic appears to select from...

My OS = Zorin OS 17.2 Pro/Ubuntu based
AMD® Ryzen 7 5700g with radeon graphics × 16
RENOIR (renoir, LLVM 15.0.7, DRM 3.57, 6.8.0-50-generic)
Windows System X11
MEM = 32gb
64 bit

@szczyglis-dev
Copy link
Owner

  1. The error about not having access to the model:

Error code: 404 - {'error': {'message': 'The model gpt-4o does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}

comes from the OpenAI API, not the application. For some reason, your OpenAI account caused this error.

  1. The audio input was improved in version 2.4.50.

Try it now, making sure to connect all the required slots:

sudo snap connect pygpt:audio-record :audio-record

sudo snap connect pygpt:alsa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants