labring / labring/FastGPT

HTTP插件功能请求:错误信息增加body明细

Open
#5,679 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
TypeScript
Stars
29.6k
Forks
7.3k
Avg merge
1d 7h
Merged PRs (30d)
152

Description

**例行检查**

[//]: # '方框内填 x 表示打钩'

- [x] 我已确认目前没有类似 features
- [x] 我已确认我已升级到最新版本
- [x] 我已完整查看过项目 README,已确定现有版本无法满足需求
- [x] 我理解并愿意跟进此 features,协助测试和提供反馈
- [x] 我理解并认可上述内容,并理解项目维护者精力有限,**不遵循规则的 features 可能会被无视或直接关闭**

**功能描述**
目前HTTP请求,如果api返回非200,报错只有错误的状态码,如下:

Image

但是api返回的错误明细没有显示:

Image

希望错误信息能够包含json body的内容,以方便AI根据明细进行排错

**应用场景**

**相关示例**

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.