Skip to content

Commit 2c0c858

Browse files
committed
Refactor think-tag parsing to use ChatSegment stream and simplify ChatService integration
Replace ThinkTagParser string-based API with ChatSegment-based parsing Remove ThinkAndResponseSegment and unify parser output as ChatSegment Preserve passthrough behavior for non-text segments Simplify ChatService.ApplyThinkTagParser to a thin delegation layer Add/update unit tests for think-tag parsing behavior and non-leading <think> handling
1 parent 01b22ea commit 2c0c858

File tree

4 files changed

+538
-128
lines changed

4 files changed

+538
-128
lines changed

0 commit comments

Comments
 (0)