Add in-memory content support to build_bicep, build_bicepparam, and format_bicep_file#19644
Draft
Copilot wants to merge 4 commits into
Draft
Add in-memory content support to build_bicep, build_bicepparam, and format_bicep_file#19644Copilot wants to merge 4 commits into
content support to build_bicep, build_bicepparam, and format_bicep_file#19644Copilot wants to merge 4 commits into
Conversation
Agent-Logs-Url: https://github.com/Azure/bicep/sessions/7bff4607-7972-41e3-b1a0-fb820beef2eb Co-authored-by: anthony-c-martin <38542602+anthony-c-martin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/bicep/sessions/7bff4607-7972-41e3-b1a0-fb820beef2eb Co-authored-by: anthony-c-martin <38542602+anthony-c-martin@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update bicep file formatting and diagnostics to support in-memory strings
Add in-memory May 14, 2026
content support to build_bicep, build_bicepparam, and format_bicep_file
Agent-Logs-Url: https://github.com/Azure/bicep/sessions/49eca429-ab6f-46c4-84ca-45462ca10a14 Co-authored-by: anthony-c-martin <38542602+anthony-c-martin@users.noreply.github.com>
Contributor
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
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.
build_bicep(the renamed diagnostics tool) andformat_bicep_filepreviously required on-disk files, which made LLM-generated, in-memory Bicep flows awkward. This change adds first-class in-memory payload support and bringsbuild_bicepparamto parity.MCP compiler/formatter input model
build_bicep,build_bicepparam, andformat_bicep_fileto accept optionalcontentalongsidefilePath.filePathonly: existing disk-based behavior.contentonly: compile/format entirely in-memory.filePathandcontentare provided.Compilation path changes
BicepCompilerToolsthat:filePathorcontentrequired),filePathandcontentcannot both be provided),contentis supplied.Tool contract and discoverability
tools.json) to document one-or-the-other input semantics.build_bicep) and in-memory support, includingbuild_bicepparam.Focused coverage updates
build_bicep,build_bicepparam,filePathandcontentare provided.> [!WARNING]
>
>