mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-08-19 09:27:21 +02:00
11 lines
304 B
Go
11 lines
304 B
Go
package openai
|
|
|
|
import "testing"
|
|
|
|
func TestDisplayReasoningContentStripsLegacyClaudeSuffix(t *testing.T) {
|
|
raw := "hello" + claudeReasoningRoundTripSep + `[{"type":"thinking"}]`
|
|
if got := DisplayReasoningContent(raw); got != "hello" {
|
|
t.Fatalf("DisplayReasoningContent() = %q, want hello", got)
|
|
}
|
|
}
|