triage/agent_system/monitor/response_model.py
iomgaa 083d35e02c 新增:添加Monitor智能体模块
功能特性:
- 实现系统监控和性能分析智能体
- 提供完整的模块结构:agent.py、prompt.py、response_model.py
- 支持监控数据收集和分析功能
- 集成到AIM智能体系统框架

模块组成:
- agent.py: Monitor智能体核心实现
- prompt.py: 监控分析相关提示模板
- response_model.py: 监控数据响应模型定义
- __init__.py: 模块初始化配置

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 00:03:29 +08:00

17 lines
421 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from pydantic import Field
from agent_system.base import BaseResponseModel
class MonitorResult(BaseResponseModel):
"""
Monitor监控结果模型
"""
completion_score: float = Field(
...,
description="完成度评分0.0-1.0",
ge=0.0,
le=1.0
)
reason: str = Field(
...,
description="评分理由,详细说明为什么给出这个评分"
)