更新
This commit is contained in:
@@ -115,8 +115,15 @@ difyStreamExpect(
|
||||
callDifyStreamPrivate('shouldTryNextProtocol', [[
|
||||
'errno' => 0,
|
||||
'http_code' => 400,
|
||||
], false]) === false,
|
||||
'business input rejection is not hidden by an alternate protocol attempt'
|
||||
);
|
||||
difyStreamExpect(
|
||||
callDifyStreamPrivate('shouldTryNextProtocol', [[
|
||||
'errno' => 0,
|
||||
'http_code' => 404,
|
||||
], false]) === true,
|
||||
'an ambiguous endpoint rejected before generation tries the alternate protocol'
|
||||
'an unavailable path tries the alternate protocol'
|
||||
);
|
||||
difyStreamExpect(
|
||||
callDifyStreamPrivate('shouldTryNextProtocol', [[
|
||||
|
||||
Reference in New Issue
Block a user