Skip to content

给model.Error.Message赋值#2275

Open
button-chen wants to merge 1 commit intosongquanpeng:mainfrom
button-chen:main
Open

给model.Error.Message赋值#2275
button-chen wants to merge 1 commit intosongquanpeng:mainfrom
button-chen:main

Conversation

@button-chen
Copy link

比如调用方没有设置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"} 有利于排错。

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.

1 participant