feat(agent): fix API routes to /api/v1/agents, update model to claude-sonnet-4-6
This commit is contained in:
Binary file not shown.
Binary file not shown.
+5
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user