ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Feature Request]: Is ChatGPTNextWeb configured to change the default access mode to POST?

Open
#4,649 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### Problem Description

I tried using Postman monitoring, and compared POST with OPTTONS. The Ollama server only supports POST responses and rejected OPTTONS requests
我使用Ollama本地 访问, POST 请求通过,但是OPTTONS请求被拒绝,
不幸的是 ChatGPTNext客户端版本 默认 使用OPTTONS请求
```bash
[GIN] 2024/05/10-10:16:25 | 200 | 8.5950196s | 127.0.0.1 | POST "/v1/chat/completion"
[GIN] 2024/05/10-10:16:02 | 404 | 0s | 127.0.0.1 | Options "/v1/chat/completion"
```

### Solution Description

Is ChatGPTNextWeb configured to change the default access mode to POST?
是否有办法可以修改请求方式

### Alternatives Considered

_No response_

### Additional Context

_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.