fix: 拒绝无效的 Sub2API 零优先级
This commit is contained in:
@@ -509,7 +509,7 @@ function renderRuntimeErrors(lines: string[], runtime: Record<string, unknown>,
|
||||
]));
|
||||
}
|
||||
const scoreRule = runtimeRecord(accountQuality.scoreRule) ?? {};
|
||||
lines.push(`SCORE RULE reliability=${runtimeText(scoreRule.reliabilityWeight)} latency=${runtimeText(scoreRule.latencyWeight)} availability=${runtimeText(scoreRule.availabilityWeight)} confidence=separate priority=lower-is-higher highest=0`);
|
||||
lines.push(`SCORE RULE reliability=${runtimeText(scoreRule.reliabilityWeight)} latency=${runtimeText(scoreRule.latencyWeight)} availability=${runtimeText(scoreRule.availabilityWeight)} confidence=separate priority=lower-is-higher highest=1`);
|
||||
if (typeof accountQuality.attribution === "string") lines.push(`NOTE: ${accountQuality.attribution}`);
|
||||
}
|
||||
const errorModels = runtimeRecords(customerErrors.modelBuckets);
|
||||
|
||||
Reference in New Issue
Block a user