Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -1607,6 +1607,10 @@ module frontEnd 'core/host/appservice.bicep' = {
name: 'ANTHROPIC_API_KEY'
value: orchestratorAnthropicApiKeyVar
}
{
name: 'OPENAI_API_KEY'
value: mcpOpenAiApiKey
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

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

This app setting uses mcpOpenAiApiKey directly, but the rest of the template consistently uses the normalized *Var value (e.g., mcpOpenAiApiKeyVar for OPENAI_API_KEY in the orchestrator settings). Using the *Var here would keep conventions consistent and avoids confusion given the parameter is described as "used by the MCP server" while it's now also consumed by the frontend; consider switching to mcpOpenAiApiKeyVar and/or clarifying the parameter naming/description to reflect shared use.

Suggested change
value: mcpOpenAiApiKey
value: mcpOpenAiApiKeyVar

Copilot uses AI. Check for mistakes.
}
]
}
}
Expand Down
Loading