mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-21 00:17:44 +08:00
Add backward-compatible aliases for renamed fenced-example tests
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user