feat(agent): fix API routes to /api/v1/agents, update model to claude-sonnet-4-6
BOC CI/CD / Test (push) Failing after 2s
BOC CI/CD / Security Scan (push) Has been skipped
BOC CI/CD / Build & Push (push) Has been skipped
BOC CI/CD / Deploy to Staging (push) Has been skipped
BOC CI/CD / Deploy to Production (push) Has been skipped

This commit is contained in:
Bernt
2026-08-12 08:52:29 +00:00
parent 0b416b0f13
commit 0831a49c71
3 changed files with 5 additions and 2 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+5 -2
View File
@@ -402,8 +402,11 @@ func main() {
})
// Agent Layer (BOC Agent Orchestrator)
r.Post("/api/agent/chat", agentOrchestrator.HandleAgentChat)
r.Get("/api/agent/status", agentOrchestrator.HandleAgentStatus)
r.Get("/api/v1/agents", agentOrchestrator.HandleAgentStatus)
r.Get("/api/v1/agents/status", agentOrchestrator.HandleAgentStatus)
r.Post("/api/v1/agents/chat", agentOrchestrator.HandleAgentChat)
r.Get("/api/v1/agents/{id}", agentOrchestrator.HandleAgentStatus)
r.Post("/api/v1/agents/{id}/execute", agentOrchestrator.HandleAgentChat)
})
// WebSocket (protected)