tbckr / sgpt

SGPT is a command-line tool that provides a convenient way to interact with OpenAI models, enabling users to run queries, generate shell commands and produce code directly from the terminal.
MIT License
210 stars 23 forks source link

SGPT NotFoundError: Error code: 404 - {'error': {'message': 'The model `gpt-4-1106-preview` does not exist or you do not have access to it.' #256

Closed Tech9ace closed 1 month ago

Tech9ace commented 1 month ago

What happened?

installed sgpt and insert API key now i have this Sgpt error Screenshot_2024-06-05_18-27-33

what is the command to switch the model enter "sgpt --model" ? whats the command i need?

NotFoundError: Error code: 404 - {'error': {'message': 'The model gpt-4-1106-preview does not exist or you do not have access to it.'

How can we reproduce this?

Screenshot_2024-06-05_18-27-33

sgpt version

ShellGPT 1.4.3

Search

Project

Code of Conduct

Additional context

thank u for help :)

tbckr commented 1 month ago

Hey, thanks for reaching out. The error message looks like you are using shell-gpt in Python. Please create a corresponding issue there, as it is a different tool.

Tech9ace commented 1 month ago

i still get the error NotFoundError: Error code: 404 - {'error': {'message': 'The model gpt-4-1106-preview does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}} can u please help me to set it up how to fix this step by step please

Tech9ace commented 1 month ago

do i need model to enter in --model (witch model?)

tbckr commented 1 month ago

I am sorry, but you are referring to another software. I can't help you with that, because I know nothing about the Python shell-gpt implementation. Please ask for support at: https://github.com/TheR1D/shell_gpt

Tech9ace commented 1 month ago

ok thank u i just finde manuells how to install it in Pip