moo.agent.brain.prompt
Pure prompt builders. build_system_prompt assembles the system message
(soul + structured-response format). build_user_message assembles the user
turn (memory summary + goal/plan + rolling window). Neither touches Brain state.
Stage-2: tools are registered on the PydanticAI Agent, which renders their
schemas to the model directly. The system prompt no longer carries a tool
reference block, and the actions paragraph in RESPONSE_FORMAT was
replaced with one sentence describing the tool-call channel.
Functions
|
Assemble the system prompt: soul + response format. |
|
Construct the user-turn message, including memory and planning state. |