ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] 生成摘要的模型会使用聊天模型的api key,而非它自己的key

Open
#5,926 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### 📦 部署方式

Vercel

### 📌 软件版本

v2.15.8

### 💻 系统环境

Windows

### 📌 系统版本

22H2

### 🌐 浏览器

Chrome

### 📌 浏览器版本

131.0.6778.109

### 🐛 问题描述

我尝试过静态部署和Vercel部署,均存在这个问题:
当聊天模型的服务商与摘要模型的服务商不同时,生成摘要的请求的`endpoint`正确,但是api key和提供key的格式却用的是聊天模型的,而不是在设置中为摘要模型的服务商设置的key和对应格式。

### 📷 复现步骤

设置摘要模型的服务商与聊天模型不同,发起聊天,抓取向摘要模型的请求。

### 🚦 期望结果

向摘要模型的请求应当使用它对应的提供商的api key。

### 📝 补充信息

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.