We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aecacb commit 595619aCopy full SHA for 595619a
1 file changed
internal/service/tools/evaluate_ragcode.go
@@ -78,7 +78,7 @@ func (t *EvaluateRagCodeTool) Execute(ctx context.Context, args map[string]inter
78
health := healthcheck.CheckAllWithModels(t.cfg.LLM.OllamaBaseURL, t.cfg.Storage.VectorDB.URL, models)
79
for _, h := range health {
80
statusSymbol := "✅"
81
- if h.Status != "OK" {
+ if strings.ToLower(h.Status) != "ok" {
82
statusSymbol = "❌"
83
}
84
healthStatus = append(healthStatus, fmt.Sprintf("%s %s: %s", statusSymbol, h.Service, h.Status))
0 commit comments