Add backward-compatible aliases for renamed fenced-example tests

This commit is contained in:
CJACK.
2026-03-22 16:25:03 +08:00
parent b108a7915a
commit 1676c8e4f2
7 changed files with 72 additions and 58 deletions

View File

@@ -177,7 +177,7 @@ func looksLikeToolExampleContext(text string) bool {
}
func shouldSkipToolCallParsingForCodeFenceExample(text string) bool {
if !looksLikeToolCallSyntax(text) || looksLikeMarkupToolSyntax(text) {
if !looksLikeToolCallSyntax(text) {
return false
}
stripped := strings.TrimSpace(stripFencedCodeBlocks(text))