zclllyybb commented on code in PR #55762:
URL: https://github.com/apache/doris/pull/55762#discussion_r2348075384
##########
be/src/vec/functions/ai/ai_adapter.h:
##########
@@ -310,8 +310,8 @@ class LocalAdapter : public AIAdapter {
doc.Parse(response_body.c_str());
if (doc.HasParseError() || !doc.IsObject()) {
- return Status::InternalError("Failed to parse {} response: {}",
_config.provider_type,
- response_body);
+ return Status::FatalError("Failed to parse {} response: {}",
_config.provider_type,
Review Comment:
这些不是doris自己代码写的问题,上游服务商出问题也会报这个错,不应该是FatalError,保持原来的就行
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]