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: Fix qwen, chatglm request failed #318

Merged
merged 1 commit into from
Oct 15, 2023
Merged

Conversation

MartialBE
Copy link
Contributor

@MartialBE MartialBE commented Oct 14, 2023

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

🔀 变更说明 | Description of Change

修复使用第三方平台(如 one api)转openai API 时,使用qwen、chatglm 模型请求失败的问题。

这个问题是因为 openai-node 使用的错误的 Accept请求头部, qwen、chatglm API 验证失败而导致的。

已经向openai-node 提了issues: openai/openai-node#375,等待上游修复前,可以通过更改Accept解决错误请求的问题。

📝 补充信息 | Additional Information

@vercel
Copy link

vercel bot commented Oct 14, 2023

@MartialBE is attempting to deploy a commit to the LobeHub Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Oct 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lobe-chat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2023 1:36pm

@arvinxx arvinxx merged commit a5699e2 into lobehub:main Oct 15, 2023
3 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 15, 2023
### [Version 0.89.4](v0.89.3...v0.89.4)
<sup>Released on **2023-10-15**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix qwen, chatglm request failed.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix qwen, chatglm request failed, closes [#318](#318) ([a5699e2](a5699e2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

🎉 This PR is included in version 0.89.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

TiagoFer0128 pushed a commit to TiagoFer0128/lobe-chat that referenced this pull request Dec 14, 2023
### [Version&nbsp;0.89.4](lobehub/lobe-chat@v0.89.3...v0.89.4)
<sup>Released on **2023-10-15**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix qwen, chatglm request failed.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix qwen, chatglm request failed, closes [#318](lobehub/lobe-chat#318) ([a5699e2](lobehub/lobe-chat@a5699e2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
miroshar-success added a commit to miroshar-success/OpenAI_Integraion_platform that referenced this pull request Apr 5, 2024
### [Version&nbsp;0.89.4](lobehub/lobe-chat@v0.89.3...v0.89.4)
<sup>Released on **2023-10-15**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix qwen, chatglm request failed.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix qwen, chatglm request failed, closes [#318](lobehub/lobe-chat#318) ([a5699e2](lobehub/lobe-chat@a5699e2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
skylinemusiccds pushed a commit to skylinemusiccds/BrainWeaver-development that referenced this pull request May 12, 2024
AlfonsW55 added a commit to AlfonsW55/lobe-chat that referenced this pull request May 15, 2024
### [Version&nbsp;0.89.4](lobehub/lobe-chat@v0.89.3...v0.89.4)
<sup>Released on **2023-10-15**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix qwen, chatglm request failed.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix qwen, chatglm request failed, closes [#318](lobehub/lobe-chat#318) ([a5699e2](lobehub/lobe-chat@a5699e2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants