Expand description
Eager todo-list creation policy (first-turn prelude).
Eager todo-list creation policy for the first agent turn. Ports the
eager-prelude half of omp’s TodoTracker (todo-tracker.ts); the
reminders/mid-run-nudge half lives in agent_loop/mod.rs next to
build_stop_reminder/MidRunNudgeState to avoid a second todo-state
owner.
Enums§
- Todo
Eager Mode - Mirrors
oxicode_cli’sSettings::TodoEagerModewithout a crate dependency in the other direction;oxicode-cliconverts when buildingAgentLoopConfig.
Functions§
- build_
eager_ todo_ prelude - Builds the first-turn eager-todo message + optional forced tool choice.
Returns
Nonewhen eager mode is off, a plan already exists, this is a sub-agent, or the prompt looks like a question rather than a task. - provider_
supports_ tool_ choice - Whether a provider’s wire format supports native forced-tool-choice
(
ToolChoice::Named). The built-in JSON providers do; Ollama and owned (in-band XML) dialects don’t, so aNamedchoice degrades toAutothere.