[extension.ai.agent] update aka.ms link for agentTemplatesURL#7966
[extension.ai.agent] update aka.ms link for agentTemplatesURL#7966hemarina merged 5 commits intoAzure:mainfrom
Conversation
…na/agent-init-templates-json
…na/agent-init-templates-json
There was a problem hiding this comment.
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
agentTemplatesURLvalue with araw.githubusercontent.comlink totemplates.json.
jongio
left a comment
There was a problem hiding this comment.
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.
|
/check-enforcer override |
wbreza
left a comment
There was a problem hiding this comment.
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
Follow up #7921. Fix #7920