에이전트 런타임 분석 산출물 생성 #3
1 changed files with 185 additions and 0 deletions
185
runtime-analysis/INVENTORY.json
Normal file
185
runtime-analysis/INVENTORY.json
Normal file
|
|
@ -0,0 +1,185 @@
|
||||||
|
{
|
||||||
|
"inventory": {
|
||||||
|
"generated_at": "2026-07-10T14:38:23Z",
|
||||||
|
"project": "runtime-smoke-20260710143823",
|
||||||
|
"version": "1.0",
|
||||||
|
"components": {
|
||||||
|
"minimax_connection": {
|
||||||
|
"status": "implemented",
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"name": "ConnectionPool",
|
||||||
|
"type": "component",
|
||||||
|
"description": "Manages HTTP connection pooling to MiniMax API"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RequestBuilder",
|
||||||
|
"type": "component",
|
||||||
|
"description": "Constructs API request payloads"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ResponseParser",
|
||||||
|
"type": "component",
|
||||||
|
"description": "Parses JSON and streaming responses"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "HealthChecker",
|
||||||
|
"type": "component",
|
||||||
|
"description": "Monitors connection pool health"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"param": "api_endpoint",
|
||||||
|
"type": "string",
|
||||||
|
"default": "https://api.minimax.chat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"param": "timeout",
|
||||||
|
"type": "integer",
|
||||||
|
"default": 30000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"param": "max_connections",
|
||||||
|
"type": "integer",
|
||||||
|
"default": 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"param": "keep_alive",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"output_contracts": {
|
||||||
|
"status": "implemented",
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"name": "SchemaValidator",
|
||||||
|
"type": "component",
|
||||||
|
"description": "Validates response against contract schema"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "TypeCoercer",
|
||||||
|
"type": "component",
|
||||||
|
"description": "Normalizes types to match contract"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ContractEmitter",
|
||||||
|
"type": "component",
|
||||||
|
"description": "Emits validated contract output"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"schema": {
|
||||||
|
"version": "1.0",
|
||||||
|
"required_fields": ["content", "model", "usage", "finish_reason"],
|
||||||
|
"optional_fields": ["tool_calls", "citations", "metadata"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"retry_mechanism": {
|
||||||
|
"status": "implemented",
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"name": "RetryPolicy",
|
||||||
|
"type": "component",
|
||||||
|
"description": "Determines retry eligibility"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackoffCalculator",
|
||||||
|
"type": "component",
|
||||||
|
"description": "Calculates exponential backoff delays"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CircuitBreaker",
|
||||||
|
"type": "component",
|
||||||
|
"description": "Prevents cascading failures"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"param": "initial_delay",
|
||||||
|
"type": "integer",
|
||||||
|
"default": 1000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"param": "max_delay",
|
||||||
|
"type": "integer",
|
||||||
|
"default": 30000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"param": "multiplier",
|
||||||
|
"type": "number",
|
||||||
|
"default": 2.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"param": "jitter",
|
||||||
|
"type": "number",
|
||||||
|
"default": 0.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"param": "max_retries",
|
||||||
|
"type": "integer",
|
||||||
|
"default": 3
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"observation_points": {
|
||||||
|
"status": "implemented",
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"name": "Tracer",
|
||||||
|
"type": "component",
|
||||||
|
"description": "Distributed tracing instrumentation"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "MetricsCollector",
|
||||||
|
"type": "component",
|
||||||
|
"description": "Aggregates metrics"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "LogEmitter",
|
||||||
|
"type": "component",
|
||||||
|
"description": "Structured logging"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "AlertManager",
|
||||||
|
"type": "component",
|
||||||
|
"description": "Threshold-based alerting"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"metrics": [
|
||||||
|
{
|
||||||
|
"name": "request.start",
|
||||||
|
"type": "counter",
|
||||||
|
"labels": ["model", "endpoint"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "request.duration",
|
||||||
|
"type": "histogram",
|
||||||
|
"labels": ["model", "status"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "connection.acquired",
|
||||||
|
"type": "gauge",
|
||||||
|
"labels": ["pool_name"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "retry.attempt",
|
||||||
|
"type": "counter",
|
||||||
|
"labels": ["attempt_num", "error_type"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "contract.validation",
|
||||||
|
"type": "counter",
|
||||||
|
"labels": ["result"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "circuit.state",
|
||||||
|
"type": "gauge",
|
||||||
|
"labels": ["circuit_name"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue