[pull] main from microsoft:main#1292
Merged
Merged
Conversation
…xtraction VS Code's ToolName enum uses snake_case identifiers (create_file, replace_string_in_file, apply_patch, insert_edit_into_file, multi_replace_string_in_file, edit_notebook_file, read_file). The initial CLI-derived FILE_TOOL_NAMES set only contained the Copilot CLI/Claude camelCase variants, so tool.parameters.edit_type and tool.parameters.file_path were never emitted on real VS Code tool spans. Add the missing names and extend classifyEditType to handle them. Verified end-to-end in Aspire on a trace where create_file now correctly emits edit_type=create with the file_path gated by captureContent.
- Move USAGE_REASONING_OUTPUT_TOKENS from GitHubCopilotAttr to GenAiAttr (its value is gen_ai.usage.reasoning.output_tokens, not a github.copilot.* key) - Accept Anthropic-style mcp__server__tool double-underscore format in addition to mcp_server_tool single-underscore - Add a test for the double-underscore variant
Chat: OTel enrichment for agent context
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )