Commit 17af169
[agentserver] core: send Foundry-Features header on task-store requests
The Foundry Task Storage API requires opt-in to the 'Routines=V1Preview'
preview feature via the 'Foundry-Features' header. Without it the
server returns HTTP 403 with:
{"error":{"code":"preview_feature_required",
"message":"This operation requires the following opt-in preview
feature(s): Routines=V1Preview. Include the 'Foundry-Features:
Routines=V1Preview' header in your request."}}
Wired into the HostedTaskProvider's HeadersPolicy as a base header so
every task-store request (GET/POST/PATCH/DELETE/list) carries it.
Discovered while running the durable-agent-demo against a fresh
deployment of the spec 016 transport refactor.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a2c9a1f commit 17af169
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| |||
0 commit comments