fabro/docs/public/changelog/2026-07-09.mdx
2026-07-24 10:47:14 -04:00

25 lines
962 B
Text

---
title: "Provider header interpolation"
date: "2026-07-09"
---
<Warning>
**Provider `extra_headers` use a new value syntax.** Replace `{ literal = "value" }` with `"value"`, `{ env = "NAME" }` with `"{{ env.NAME }}"`, and `{ vault = "NAME" }` with `"{{ secrets.NAME }}"`.
</Warning>
## Provider header interpolation
Provider headers can now mix literal text with environment or secret values in one string, making bearer prefixes and gateway-specific formats straightforward. Secret tokens resolve only token-style vault entries, so missing, file, and OAuth secrets fail closed; put credentials in secrets rather than literal header values.
```toml
[llm.providers.gateway.extra_headers]
Authorization = "Bearer {{ secrets.GATEWAY_TOKEN }}"
```
Provider `base_url` remains a literal string and is not interpolated.
## More
<Accordion title="Improvements">
- Run graph zoom and pan now survive switching between the Overview and Stages tabs
</Accordion>