Skip to content

Proxytrace 1.7.0

Choose a tag to compare

@github-actions github-actions released this 20 Jul 19:41
· 118 commits to master since this release
Immutable release. Only release title and notes can be modified.
6e6d2ca

Added

  • Scoped API keys for the REST API. A Proxytrace API key can now drive /api/* directly, so an
    external service no longer needs a long-lived user login (with MFA disabled and a token-refresh loop)
    to call the API. Mint a key with the new REST API read and/or REST API write capabilities:
    read keys may issue GET requests, write keys may also create and change data. The key acts as its
    owner and, like an MCP key, can never reach admin-only endpoints. Capabilities stay least-privilege
    and are not interchangeable across surfaces — a REST key cannot drive MCP or proxy LLM traffic, and
    existing keys are unaffected. (#365)
  • Record corrections over MCP. The add_trace_to_suite tool now takes an optional expectedOutput.
    Provide it to log a correction — "the agent saw this input, and the right answer was X" — turning a
    captured trace into a regression test, instead of only promoting the trace as-is. An external agent
    can now drive the entire capture → correct → propose → validate loop with a single scoped MCP key. (#366)

Changed

  • The proxy now forwards client headers transparently. LLM requests through the ingestion proxy
    previously only passed a small fixed set of headers to the upstream provider; everything else was
    dropped. Now every header travels upstream unchanged — OpenAI-Beta, openai-organization,
    idempotency keys, custom tracing headers, and anything else your provider expects — so an existing
    client can swap its base URL to Proxytrace with no behavior change. Only Proxytrace's own
    x-proxytrace-* control headers, credentials (replaced with the provider's real key), and
    hop-by-hop/connection headers are stripped. Upstream response headers are relayed the same way, and
    Azure OpenAI upstreams now also receive the provider key in the api-key header that Azure's
    classic data-plane auth expects.
  • Test cases now remember which trace they came from. Promoting or correcting a trace into a test
    suite records a link back to the source trace, so "which trace produced this case?" is answerable from
    Proxytrace's own data. (Previously the link was silently dropped, despite the API documenting
    otherwise.) Synthetic cases built from raw input and expected output have no source and are unaffected. (#367)