Skip to content

Commit 09a750b

Browse files
huimiuCopilot
andcommitted
fix(skills): use api-version=v1 for skills surface
The Skills data-plane lives under api-version=v1; the preview opt-in is communicated via the Foundry-Features: Skills=V1Preview header. Using 2025-11-15-preview as the api-version returns 400 UnsupportedApiVersion. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4757f72 commit 09a750b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • cli/azd/extensions/azure.ai.skills/internal/pkg/skill_api

cli/azd/extensions/azure.ai.skills/internal/pkg/skill_api/client.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ import (
2222

2323
const (
2424
// DataPlaneAPIVersion is the api-version query parameter applied to every
25-
// request. Pinned to the preview that exposes the Skills surface; bump in
26-
// lockstep with the rest of the AI extension surface.
27-
DataPlaneAPIVersion = "2025-11-15-preview"
25+
// request. The Skills surface lives under the `v1` data-plane API version;
26+
// the preview opt-in is communicated separately via the `Foundry-Features`
27+
// header (see SkillsPreviewOptIn below).
28+
DataPlaneAPIVersion = "v1"
2829

2930
// FoundryFeaturesHeader is the HTTP header that carries the preview opt-in.
3031
FoundryFeaturesHeader = "Foundry-Features"

0 commit comments

Comments
 (0)