mirror of
https://github.com/Tencent/WeKnora.git
synced 2026-09-19 02:18:25 +08:00
TierRecursive and TierLegacy both invoked SplitText with identical output, but only TierLegacy got the "always-return-on-validation-failure" safety-net behavior. Auto chains thus ran SplitText twice on the fallback path and produced two-line debug rejection traces with the same reason. Inline TierRecursive into TierLegacy: SelectStrategy and the explicit StrategyRecursive entry point now emit single-legacy chains. The StrategyRecursive public constant stays so existing ChunkingConfig rows keep parsing — it's just an alias for legacy now. No user-visible behavior change; one fewer SplitText call per failed auto fallback.