Skip to content

fix: model providers — Anthropic + MicrosoftFoundry only for 3P#158

Open
dm-chelupati wants to merge 4 commits into
microsoft:mainfrom
dm-chelupati:audit-fixes-v2
Open

fix: model providers — Anthropic + MicrosoftFoundry only for 3P#158
dm-chelupati wants to merge 4 commits into
microsoft:mainfrom
dm-chelupati:audit-fixes-v2

Conversation

@dm-chelupati
Copy link
Copy Markdown
Collaborator

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.

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.
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.

1 participant