feat(api): implementa router /agents (list, get, versions, get_version, diff)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Juan
2026-05-10 15:33:27 +02:00
co-authored by Claude Opus 4.7
parent 1c763d26d8
commit 13ba1f7826
4 changed files with 142 additions and 2 deletions
+8
View File
@@ -0,0 +1,8 @@
name: incident_analyzer
versions:
- id: v1
hash: testhash1
author: Juan
message: fixture inicial
created_at: 2026-04-01T00:00:00Z
active_version: v1
@@ -0,0 +1,17 @@
name: incident_analyzer
version: v1
owner: Juan
purpose: Análisis de incidentes de red
state: active
guardrails: [default]
llm:
provider: mock
model: gpt-4o
temperature: 0.2
max_tokens: 2000
system_prompt: Eres un analista de incidentes. Responde SIEMPRE con JSON.
output_schema:
type: object
required: [severity]
risk_threshold_for_hitl: 4
updated_at: 2026-04-01T00:00:00Z