Open
Description
gptscript version - v0.0.0-dev-faaee653-dirty
Steps to reproduce the problem:
- Created a new chatgpt account on
Free Trial
- Execute any gptscript using this account's apikey
Script execution fails with following error since gpt-4o
is used as the default provider in this case:
gptscript --disable-cache ~/gptscript/examples/helloworld.gpt
11:01:46 started [main]
11:01:46 sent [main]
content [1] content | Waiting for model response...2024/07/29 11:01:46 error, status code: 404, message: The model `gpt-4o` does not exist or you do not have access to it.
gptscript --list-models
does not list gpt-4o
as expected in this case.
gptscript --list-models
babbage-002
dall-e-2
dall-e-3
davinci-002
gpt-3.5-turbo
gpt-3.5-turbo-0125
gpt-3.5-turbo-1106
gpt-3.5-turbo-16k
gpt-3.5-turbo-instruct
gpt-3.5-turbo-instruct-0914
gpt-4o-mini
gpt-4o-mini-2024-07-18
text-embedding-3-large
text-embedding-3-small
text-embedding-ada-002
tts-1
tts-1-1106
tts-1-hd
tts-1-hd-1106
whisper-1
Expected Behavior:
It should be possible for gptscript to not use gpt-4o
in this case and may be prompt the user to pick a default provider that can be used as the default provider for all gptscript executions in this case.