moo.agent.tests.test_response_model
Tests for moo/agent/response_model.py — the Pydantic AgentResponse
meta-state schema and its validators.
Stage-2: the per-tool Action/ActionUnion/ActionBase machinery and
the actions field are gone. Tool calls go through PydanticAI’s native
tool-call channel; this module is now only meta-state (goal, plan, done,
soul_patches, build_plan) + free-text scrubbing.
Functions
|
|
|
|
|
Sanity: the legacy |
|
|
|
Leaked Harmony/ChatML tokens are stripped from free-text fields. |
|
|
|