Creates an Agent from global config (API credentials, system prompt, identity), overrides tools with the agent's tool set, and runs through the standard Backend → run_with_backend → Agent::turn() path. This enables poc-hook spawned agents (surface-observe, journal, etc.) to work with the completions API instead of the deleted chat API. Also added Default derive to CliArgs for config loading. Co-Authored-By: Proof of Concept <poc@bcachefs.org> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 line
No EOL
91 B
Text
1 line
No EOL
91 B
Text
{"sessionId":"463c6050-b49f-4509-9d4b-4596af79a90e","pid":61703,"acquiredAt":1775698574304} |