binary-husky / binary-husky/gpt_academic

[Bug]: when I use minimax-2.7 model, it give me an error.

Open
#2,276 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
71.3k
Forks
8.3k
PR merge metrics
No merged PRs in 30d

Description

### Installation Method | 安装方法与平台

Pip Install (I used latest requirements.txt)

### Version | 版本

Latest | 最新版

### OS | 操作系统

Windows

### Describe the bug | 简述

我根据这个配置修改了配置文件后,报错。

# 1. 设置 API_KEY
API_KEY = "your-minimax-api-key"

# 2. 配置 URL 重定向到 MiniMax 的 API 地址
API_URL_REDIRECT = {
"https://api.openai.com/v1/chat/completions": "https://api.minimax.chat/v1/chat/completions"
}

# 3. 在可用模型列表中添加 MiniMax 模型
AVAIL_LLM_MODELS = [
"gpt-4o", "gpt-4o-mini",
"minimax-2.7", # 添加您的 MiniMax 模型名称
]

# 4. 设置默认模型
LLM_MODEL = "minimax-2.7"

### Screen Shot | 有帮助的截图

Image

### Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the configuration entries shown in the issue and the latest requirements.txt, then reproduce the failure on Windows using minimax-2.7 and capture the missing terminal traceback. Compare the configured API URL and model name with the project's supported model/API handling; done means the configuration works or the issue documents the exact incompatibility and required change.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.