Skip to content

Conversation

@Sagit-chu
Copy link
Owner

Synced from upstream PR: songquanpeng#2275

比如调用方没有设置Content-Type,deepseek的resp.Status存有错误描述:415 Unsupported Media Type。这个pr之后可以在调用端得到更明显的错误提示:{"message":"415 Unsupported Media Type","type":"upstream_error","param":"415","code":"bad_response_status_code"} 有利于排错。

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
relay/controller/error.go 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants