test(channel-monitor): adapt checker body test to 3-arg normalizeMonitorPrimaryModel
This commit is contained in:
1 file changed
+1
-1
@@ -199,7 +199,7 @@ func TestGrokMonitorConfiguration(t *testing.T) {
|
||||
if err := validateProvider(MonitorProviderGrok); err != nil {
|
||||
t.Fatalf("grok provider should be supported: %v", err)
|
||||
}
|
||||
if got := normalizeMonitorPrimaryModel(MonitorProviderGrok, ""); got != MonitorDefaultGrokModel {
|
||||
if got := normalizeMonitorPrimaryModel(MonitorProviderGrok, MonitorCheckModeProbe, ""); got != MonitorDefaultGrokModel {
|
||||
t.Fatalf("expected default Grok model %q, got %q", MonitorDefaultGrokModel, got)
|
||||
}
|
||||
if err := validateAPIMode(MonitorProviderGrok, MonitorAPIModeChatCompletions); err != nil {
|
||||
|
||||
Reference in new issue
Block a user