/
drbye
/
gag
Обзор
Документация
Войти
/
drbye
/
gag
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
agents/types.py
27 строк
583 B
Marusin Dmitry
refactor: large-scale project restructuring and module consolidation
16 июл 2026, 15:47
16 июл 2026, 15:47
64a2548
Код
Авторство
О чём код?
"""Agent types for centralized registry.""" from enum import Enum from pydantic import BaseModel from typing import Optional, Dict, Any, List class AgentType(str, Enum): PLANNER = "planner" RETRIEVAL = "retrieval" REASONING = "reasoning" EXECUTOR = "executor" ORCHESTRATION = "orchestration" VALIDATOR = "validator" class AgentConfig(BaseModel): agent_type: AgentType name: Optional[str] = None config: Dict[str, Any] = {} class AgentMeta(BaseModel): agent_type: AgentType name: str description: str capabilities: List[str]