fix(thinking): use static lookup to avoid alias issues
This commit is contained in:
@@ -150,7 +150,7 @@ func TestIsUserDefinedModel(t *testing.T) {
|
||||
modelInfo *registry.ModelInfo
|
||||
want bool
|
||||
}{
|
||||
{"nil modelInfo", nil, false},
|
||||
{"nil modelInfo", nil, true},
|
||||
{"not user-defined no flag", ®istry.ModelInfo{ID: "test"}, false},
|
||||
{"not user-defined with type", ®istry.ModelInfo{ID: "test", Type: "openai"}, false},
|
||||
{"user-defined with flag", ®istry.ModelInfo{ID: "test", Type: "openai", UserDefined: true}, true},
|
||||
|
||||
Reference in New Issue
Block a user