feat: unify param/header overrides with retry-aware conditions and flexible header operations

This commit is contained in:
Seefs committed 2026-02-22 00:45:49 +08:00
1 parent aebc8ae254
commit 7633863c96
14 files changed
+738 -87

No files matched your search

+1 -1
View File
@@ -385,7 +385,7 @@ func testChannel(channel *model.Channel, testModel string, endpointType string,
//}
if len(info.ParamOverride) > 0 {
jsonData, err = relaycommon.ApplyParamOverride(jsonData, info.ParamOverride, relaycommon.BuildParamOverrideContext(info))
jsonData, err = relaycommon.ApplyParamOverrideWithRelayInfo(jsonData, info)
if err != nil {
if fixedErr, ok := relaycommon.AsParamOverrideReturnError(err); ok {
return testResult{