Skip to content

[pull] main from danny-avila:main - #179

Merged
pull[bot] merged 7 commits into
innFactory:mainfrom
LibreChat-AI:main
Aug 17, 2026
Merged

pull[bot] merged 7 commits into
innFactory:mainfrom
LibreChat-AI:main

Conversation

@pull

@pull pull Bot commented Aug 17, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

* feat: add detached subagent task control

* fix: harden detached subagent lifecycle
* ✨ feat: Support Custom Headers On Langfuse Exports

Self-hosted Langfuse instances behind an authenticating proxy or API
gateway need extra headers on every export request. `@langfuse/otel`
already accepts `additionalHeaders` (applied to both the OTLP trace
exporter and the media-upload API client), but there was no way to reach
it from a run or agent config.

Adds `additionalHeaders` to `LangfuseConfig`, passes it through every
credential branch of `getLangfuseSpanProcessorParams`, and merges it in
`resolveLangfuseConfig` like the other map-valued fields (agent wins).

Headers join the destination key. A gateway may route on them, so two
otherwise-identical configs can be different projects: excluding them
would let a span inherit a parent bound to another destination, and
would let a rotated proxy credential keep exporting through the stale
cached processor. The digest is order- and case-insensitive so
equivalent header maps share one exporter, and hashed because these
values are credentials.

* 🐛 fix: Merge Langfuse Header Overrides Case-Insensitively

Codex review (P1). A plain spread kept both `X-Proxy-Token` and
`x-proxy-token` when run and agent configs differed only in casing.
HTTP header names are case-insensitive, and filling a fetch `Headers`
from that record appends rather than replaces — the exporter would send
one comma-joined `run-token, agent-token` value, so the documented agent
override never cleanly won and a gateway would see a malformed
credential.

Merges case-insensitively, keeping the override's casing, matching the
case-insensitive identity the destination key already uses.
@pull pull Bot locked and limited conversation to collaborators Aug 17, 2026
@pull pull Bot added the ⤵️ pull label Aug 17, 2026
@pull
pull Bot merged commit 6a3b0f0 into innFactory:main Aug 17, 2026
2 checks passed
@pull
pull Bot deployed to publish August 17, 2026 22:44 Active

This branch was successfully deployed

1 active deployment
publish — 6a3b0f05 Deployed Aug 17, 2026 by pull[bot] via publish #130
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant