-
Notifications
You must be signed in to change notification settings - Fork 281
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
docs: Add faq for "Free Trial" openai accounts #679
Open
sangee2004
wants to merge
1
commit into
gptscript-ai:main
Choose a base branch
from
sangee2004:docsfreetier
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -61,3 +61,16 @@ If you're already authenticated with the `gh` CLI, you can use its token by runn | |||||||
```bash | ||||||||
export GITHUB_AUTH_TOKEN="$(gh auth token)" | ||||||||
``` | ||||||||
|
||||||||
### I'm not able to get GPTScript to work with my OpenAI account which is in "Free Trial" | ||||||||
|
||||||||
When executing GPTScript with OpenAI API key of an account in "Free Trial", user will be presented with the following error message: | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
``` | ||||||||
status code: 404, message: The model `gpt-4o` does not exist or you do not have access to it | ||||||||
``` | ||||||||
By default, GPTScript uses `gpt-4o` model which is not available for users in "Free Trial" and this is expected behavior. | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
||||||||
User can choose to use other supported models like `gpt-4o-mini`,`gpt-3.5-turbo` by using `--default-model <Model Name>` when executing GPTscripts. But in case of "Free Trial" account with no credits, GPTScript execution will fail with following quota exceeded error messgae which is also the expected behavior since there are no credits available. | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
``` | ||||||||
error, status code: 429, message: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors. | ||||||||
``` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ive added some suggestions to the text targeted at answering this exact question, but really there are sort of 2 scenarios that could lead to the '404 model not found' error. It might be worth splitting this into two sections, one that directly addresses the question of what to do if you get that error, and the other that addresses the rate limit error.
I think people will more frequently be asking questions about those errors they see directly from gptscript, where for now this is question is working backwards from an exact answer.