-
Notifications
You must be signed in to change notification settings - Fork 6k
Add LLM detection telemetry documentation for .NET CLI #48930
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: meaghanlewis <[email protected]>
@baronfel let me know if these changes are what you had in mind for the LLM telemetry data point. Should I also include Cursor in the agent list, and a scenario for when multiple agents are used? |
docs/core/tools/telemetry.md
Outdated
|
||
| LLM agent | Variable | Value | | ||
| --------- | -------- | ----- | | ||
| Claude Code | CLAUDECODE | Return LLM tool name of "claude" | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot use the additional detections from dotnet/sdk#51054 (especially the test cases here) to flesh out this table since we added more after this issue was originally logged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the table with additional LLM agents including GitHub Copilot, Cursor, Windsurf, Cline, Roo Code, and Zed based on the detections in SDK PR #51054. See commit 8da2d42.
@meaghanlewis thanks for kicking this off! We added a few more LLM agent detections recently so I'm having Copilot tackle those as well. Other than that this looks great. |
Co-authored-by: baronfel <[email protected]>
Summary
This pull request updates the .NET CLI telemetry documentation to include details about the new LLM agent detection feature. The most important changes clarify what data is collected when the CLI is run by an LLM agent and provide specifics on how detection works.
Telemetry feature update
>=10.0.100
, the CLI reports the detected LLM agent name if invoked from an LLM agent. This includes a reference to the new LLM Detection section for more information.New LLM Detection section
Fixes #48774
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Internal previews
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Internal previews