Feat/math validation agent (#6012)

Co-authored-by: James Brunton <[email protected]>
Co-authored-by: EthanHealy01 <[email protected]>
This commit is contained in:
ConnorYoh
2026-04-17 10:36:45 +01:00
committed by GitHub
co-authored by James Brunton EthanHealy01
parent 688f7f2013
commit de8c483054
49 changed files with 3726 additions and 17 deletions
@@ -0,0 +1,30 @@
"""Agent tool IDs, parameter models, and registry.
tool_models.py is auto-generated from the frontend. This file is its
manually-maintained counterpart for tools backed by AI agent pipelines.
"""
from __future__ import annotations
from enum import StrEnum
from stirling.models.base import ApiModel
from stirling.models.tool_models import OperationId, ParamToolModel
class AgentToolId(StrEnum):
MATH_AUDITOR_AGENT = "mathAuditorAgent"
class MathAuditorAgentParams(ApiModel):
tolerance: str = "0.01"
type AgentParamModel = MathAuditorAgentParams
type AnyToolId = OperationId | AgentToolId
type AnyParamModel = ParamToolModel | AgentParamModel
AGENT_OPERATIONS: dict[AgentToolId, type[AgentParamModel]] = {
AgentToolId.MATH_AUDITOR_AGENT: MathAuditorAgentParams,
}