ProofOfConcept
|
a1fb3fe557
|
oneshot: simplify API surface
Kill 5 wrapper functions (run_and_apply chain, run_one_agent_excluded),
drop dead llm_tag parameter, clean up scan_pid_files parsing.
Public API: run_one_agent, run_one_agent_with_keys, spawn_agent,
scan_pid_files.
Co-Authored-By: Proof of Concept <poc@bcachefs.org>
|
2026-04-04 18:19:21 -04:00 |
|
ProofOfConcept
|
0f4ca9e2f2
|
agent: move oneshot execution from subconscious to agent module
Move agent execution machinery (run_one_agent, spawn_agent, PID
tracking) from subconscious/knowledge.rs to agent/oneshot.rs — the
agent module owns execution, subconscious owns scheduling and defs.
Delete subconscious/llm.rs — callers now use api::call_api_with_tools_sync
directly. Audit and compare inline the call; oneshot inlines tool
filtering.
Update all callers: consolidate, daemon, subconscious, cli/agent.
Co-Authored-By: Proof of Concept <poc@bcachefs.org>
|
2026-04-04 18:19:21 -04:00 |
|