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

[BUG]Can I change default OpenAI token from gpt-3.5turbo to gpt-4o-mini? #2701

Open
KevinHuSh opened this issue Oct 1, 2024 Discussed in #2699 · 1 comment
Open

[BUG]Can I change default OpenAI token from gpt-3.5turbo to gpt-4o-mini? #2701

KevinHuSh opened this issue Oct 1, 2024 Discussed in #2699 · 1 comment
Assignees

Comments

@KevinHuSh
Copy link
Collaborator

Discussed in https://github.com/orgs/infiniflow/discussions/2699

Originally posted by nstuPlyaskin October 1, 2024
Hello there, thanks so much for making this powerful tool!

I have a problem when I tried to add OpenAI integration via token from website (Model Providers), I select OpenAI, put gpt-4o-mini token, and I see an error:

hint : 102
Fail to access model(gpt-3.5-turbo) using this api key.ERROR: Error code: 403 - {'error': {'message': ... does not have access to model gpt-3.5-turbo', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}"

How can I fix that to use my token for gpt-4o-mini?

@JobSmithManipulation
Copy link
Contributor

Hi, You can use OpenAI API Compatible to set up the gpt-4o-mini model instead of OpenAI, which allows you to specify the model

KevinHuSh added a commit that referenced this issue Oct 11, 2024
…nd openai (#2799)

### What problem does this PR solve?
#2701 #2712 #2749

### Type of change
-[x] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)

---------

Co-authored-by: Kevin Hu <[email protected]>
Halfknow pushed a commit to Halfknow/ragflow that referenced this issue Nov 11, 2024
…nd openai (infiniflow#2799)

### What problem does this PR solve?
infiniflow#2701 infiniflow#2712 infiniflow#2749

### Type of change
-[x] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)

---------

Co-authored-by: Kevin Hu <[email protected]>
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