fix: model providers — Anthropic + MicrosoftFoundry only for 3P#158
Open
dm-chelupati wants to merge 4 commits into
Open
fix: model providers — Anthropic + MicrosoftFoundry only for 3P#158dm-chelupati wants to merge 4 commits into
dm-chelupati wants to merge 4 commits into
Conversation
Portal shows 'Azure OpenAI' but API enum value is 'MicrosoftFoundry'. GitHubCopilot is 1P-only. Fixed in all recipes, READMEs, and new-agent.sh. E2E verified: 3 recipes x 3 backends = 9 deploys on swedencentral, all pass.
- apply-extras.sh now passes modelTier, handlingAgent, status, maxExecutions to ARM PUT for scheduled tasks - azmon daily-health-check: normalize field names (schedule→cronExpression, prompt→agentPrompt, mode→agentMode)
The ParseFile call with [ref]$null produces 'InvalidOperation' noise on some pwsh versions. Redirect stderr to /dev/null and use exit code.
Initialize $tokens and $parseErrors before passing as [ref] to avoid 'variable does not exist' errors on strict pwsh runners.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove GitHubCopilot (1P-only) from model provider options. Portal shows 'Azure OpenAI' but API enum is
MicrosoftFoundry.Fixed in: agent.json _prompts, README Advanced Options, new-agent.sh warning.
E2E verified: 3 recipes × 3 backends = 9 deploys, all pass.