You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: raise amplifier-agent floor to 0.12.0, document raw LLM payload capture (0.4.0) (#20)
* chore: raise amplifier-agent floor to 0.12.0 (0.4.0)
--host-config has always been forwarded verbatim to
`amplifier-agent serve --config`, but below agent 0.12.0 the agent's HTTP face
dropped the file's provider.config block on every turn: _session_runner cleared
mount_plan["providers"] before per-request injection and called inject_provider
with no extra_config. So the flag silently did less under `serve` than the same
file does under `run`. 0.12.0 is the first version where it actually applies.
This also makes the agent's new debug.rawLlmPayloads key reachable from here.
Below 0.12.0 the agent's closed top-level schema rejects it outright as an
unknown key, so a user following our --host-config docs would get a hard config
error rather than raw payload capture.
No launcher change was needed. The passthrough was already correct
(cli.py forwards --host-config as --config, covered by tests/test_host_config.py);
only the engine it points at had to catch up. AGENT_PINNED_REF derives from
MIN_AGENT_VERSION, so the launch-time auto-install and self-heal now target
v0.12.0.
README, docs/E2E_TESTING.md, and the prereqs rationale comment updated to match.
The comment keeps the older floors on record (0.11.0 for namespaced reseller
model ids, 0.10.0 for /v1/skills and /v1/modes, 0.9.3 for auth set --stdin)
since each is still the reason a distinct feature works.
Requires amplifier-agent 0.12.0, which is not yet tagged upstream.
🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)
Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
* docs: document raw LLM payload capture via --host-config
Adds a "Capture raw LLM requests and responses" section under Advanced usage,
next to the existing --host-config docs, since that is the mechanism users
already know for configuring the engine.
Covers the host_config.json to write, the events.jsonl path the payloads land
in, and a snippet for reading fields out of it. The snippet is there because
those lines are large enough that opening the file whole is a bad first move;
it was run against a live DTU session rather than written from memory.
Three warnings are called out rather than left to be discovered: the capture is
unredacted full conversation text on disk with no size cap, the value must be a
real JSON boolean, and github-copilot accepts the flag but only emits counts and
lengths so it will not produce bodies.
Troubleshooting gains a pointer to it, plus the three log paths. The doctor
covers "is the stack healthy"; nothing there helps when the stack is fine but a
reply is wrong, which is exactly when this feature is wanted.
🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)
Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
---------
Co-authored-by: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
0 commit comments