代码提交
This commit is contained in:
1 parent
007ed5a7de
commit
babc5e95c6
21 files changed
+1170
-145
No files matched your search
@@ -80,3 +80,8 @@ export function splitInlineReasoning(text: string): SplitReasoningResult {
|
||||
export function stripReasoning(text: string): string {
|
||||
return splitInlineReasoning(text).content;
|
||||
}
|
||||
|
||||
/** 席位是否产出有效交付:剥掉思考后仍有可见正文。思考-only / 空串都不算。 */
|
||||
export function isValidSeatDelivery(text: string | null | undefined): boolean {
|
||||
return stripReasoning(text ?? "").trim().length > 0;
|
||||
}
|
||||
Reference in new issue
Block a user