binary-husky / binary-husky/gpt_academic

[Bug]: Azure 接口过老 不支持最新的 Azure AI

Open
#2,075 1 comment 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 | 操作系统

Linux

### Describe the bug | 简述

azure 模型支持过于老旧,接口强制限定 model version,无法接入最新 https://ai.azure.com 接口。
在本地强制规定api_key 格式、api_rediret_url 格式会导致无法接入最新的 azure。
建议重构 api/model 定义逻辑,模仿 one-api 允许用户自定义接口 或者 重构 azure 相关的全部代码

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

![image](https://github.com/user-attachments/assets/ce0a522b-00df-4444-9b20-090a7e85ab1a)

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

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files or tests are named in the issue. Start by locating the Azure model integration and the code that validates the API key and redirect URL, then compare those assumptions with the current Azure AI interface; done means the latest Azure AI endpoint can be configured without the forced legacy format.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
backend-api-design, cloud
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.