Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Simplify incompatible model error message
rcourtmanc58fe81700b8
diff --git a/internal/ai/providers/openai.go b/internal/ai/providers/openai.goindex b1e79d1b45..b16f653138 100644--- a/internal/ai/providers/openai.go+++ b/internal/ai/providers/openai.go@@ -785,10 +785,8 @@ func (c *OpenAIClient) ChatStream(ctx context.Context, req ChatRequest, callback// but don't know how to handle them properlyaccumulated := contentBuffer.String()if containsControlTokens(accumulated) {- return fmt.Errorf("model_incompatible: This model appears to not support function calling. " +- "It's outputting internal control tokens instead of proper responses. " +- "Please use a model that supports OpenAI-compatible function calling " +- "(e.g., Llama 3.1+, Mistral, Qwen 2.5, or newer instruction-tuned models)")+ return fmt.Errorf("model_incompatible: This model doesn't support function calling. " ++ "Please use a model that supports OpenAI-compatible tool use")}callback(StreamEvent{