Logo
Explore Help
Register Sign In
iomgaa/triage
1
0
Fork 0
You've already forked triage
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
triage/agent_system/monitor/response_model.py

17 lines
421 B
Python
Raw Normal View History

新增:添加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
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="评分理由,详细说明为什么给出这个评分"
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 23.7.0 Page: 35ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API