mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-08-17 11:37:20 +08:00
16 lines
392 B
Go
16 lines
392 B
Go
package client
|
|
|
|
import (
|
|
"testing"
|
|
|
|
serverconfig "cursor/internal/backend/server/config"
|
|
)
|
|
|
|
func TestNormalizeModelAdapterTestProviderReasoningPreservesBlank(t *testing.T) {
|
|
adapter := serverconfig.ModelAdapterConfig{Type: "openai", ReasoningEffort: ""}
|
|
|
|
if got := normalizeModelAdapterTestProviderReasoning(adapter); got != "" {
|
|
t.Fatalf("reasoning effort = %q, want blank", got)
|
|
}
|
|
}
|