Skip to content

[extension.ai.agent] update aka.ms link for agentTemplatesURL#7966

Merged
hemarina merged 5 commits intoAzure:mainfrom
hemarina:hemarina/agent-init-templates-json
Apr 29, 2026
Merged

[extension.ai.agent] update aka.ms link for agentTemplatesURL#7966
hemarina merged 5 commits intoAzure:mainfrom
hemarina:hemarina/agent-init-templates-json

Conversation

@hemarina
Copy link
Copy Markdown
Contributor

@hemarina hemarina commented Apr 29, 2026

Follow up #7921. Fix #7920

Copilot AI review requested due to automatic review settings April 29, 2026 17:01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the URL used by the Azure AI Agents extension to fetch template metadata.

Changes:

  • Replaces the agentTemplatesURL value with a raw.githubusercontent.com link to templates.json.

Copy link
Copy Markdown
Member

@jongio jongio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the change: aka.ms/foundry-agents still redirects to the old agent-templates.json, so this URL update is necessary after #7921 switched the parser to the unified manifest format. The new endpoint returns 31 agent templates with the correct templateType discriminator. Looks good.

@hemarina
Copy link
Copy Markdown
Contributor Author

/check-enforcer override

Copy link
Copy Markdown
Contributor

@wbreza wbreza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the follow-up, @hemarina! Quick note on this change:

URL strategy — managed redirect vs hardcoded URL

PR #7921 originally planned for the �ka.ms/foundry-agents redirect to be repointed server-side (by @therealjohn) to the new awesome-azd emplates.json location. That way the code wouldn't need to change — the redirect would just point somewhere new.

This PR takes a different approach: replacing the redirect with a hardcoded raw GitHub URL. Both approaches work, but they have different trade-offs worth understanding:

Approach Pro Con
Keep �ka.ms + repoint redirect URL changes without code changes; single indirection layer for all consumers Depends on redirect owner; adds a network hop
Hardcode raw GitHub URL No redirect dependency; one fewer network hop Future URL changes (repo rename, file move, branch rename) require a code change + release

Question for you and @therealjohn: Is the aka.ms redirect no longer being set up, or is this meant to be a temporary bridge until the redirect is live? If the redirect is still planned, it might be better to keep �ka.ms/foundry-agents and coordinate the server-side repoint instead.

Minor: URL format

The
efs/heads/main path style works but is less common. The shorter form is equivalent and more conventional:

https://raw.githubusercontent.com/Azure/awesome-azd/main/website/static/templates.json

@hemarina hemarina merged commit 3ef7c2e into Azure:main Apr 29, 2026
19 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

azd ai agent init: update template fetcher for unified awesome-azd templates.json

5 participants