Commit 2c0c858
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> handling1 parent 01b22ea commit 2c0c858
File tree
4 files changed
+538
-128
lines changed- src/BE
- tests/Chats.BE.UnitTest/ChatServices
- ChatCompletions/FiddlerDump
- web/Services/Models/ChatServices
4 files changed
+538
-128
lines changed
0 commit comments