Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Support: Fix OpenAI tool schema error by ensuring properties field is always present

rcourtman267d5f97e5fd
diff --git a/internal/ai/tools/protocol.go b/internal/ai/tools/protocol.go
index b6b02f336b..ec5d072b41 100644
--- a/internal/ai/tools/protocol.go
+++ b/internal/ai/tools/protocol.go
@@ -100,7 +100,7 @@ type Tool struct {
// InputSchema describes the expected input for a tool
type InputSchema struct {
Type string `json:"type"` // Always "object"
- Properties map[string]PropertySchema `json:"properties,omitempty"`
+ Properties map[string]PropertySchema `json:"properties"`
Required []string `json:"required,omitempty"`
}