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

fix MiniMax api error #1567

Merged
merged 16 commits into from
Jul 17, 2024
Merged

fix MiniMax api error #1567

merged 16 commits into from
Jul 17, 2024

Conversation

hangters
Copy link
Contributor

What problem does this PR solve?

#1353

Type of change

  • Bug Fix (non-breaking change which fixes an issue)

model_name,
base_url="https://api.minimax.chat/v1/text/chatcompletion_v2",
):
self.base_url = "https://api.minimax.chat/v1/text/chatcompletion_v2"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
self.base_url = "https://api.minimax.chat/v1/text/chatcompletion_v2"
if not base_url:
if not base_url:
base_url = "https://api.minimax.chat/v1/text/chatcompletion_v2"
self.base_url = base_url

@KevinHuSh KevinHuSh merged commit 9ae57eb into infiniflow:main Jul 17, 2024
1 check passed
Halfknow pushed a commit to Halfknow/ragflow that referenced this pull request Nov 11, 2024
### What problem does this PR solve?

infiniflow#1353 

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

---------

Co-authored-by: Zhedong Cen <[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

Successfully merging this pull request may close these issues.

3 participants