Skip to content

[AI Agents] Block attempts to use extension with prompt agents for now#6672

Merged
trangevi merged 1 commit into
mainfrom
trangevi/block-prompt-agents
Jan 30, 2026
Merged

[AI Agents] Block attempts to use extension with prompt agents for now#6672
trangevi merged 1 commit into
mainfrom
trangevi/block-prompt-agents

Conversation

@trangevi

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: trangevi <trangevi@microsoft.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR blocks usage of prompt-kind agent manifests in the Azure AI Agents extension by failing parsing early when template.kind: prompt is detected.

Changes:

  • Return an error from ExtractAgentDefinition when encountering AgentKindPrompt.
  • Comment out the previous PromptAgent parsing/extraction logic (now unreachable).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@trangevi
trangevi merged commit c45c7fd into main Jan 30, 2026
25 checks passed
@trangevi
trangevi deleted the trangevi/block-prompt-agents branch January 30, 2026 23:44
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.

3 participants