Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
modelcontextprotocol
/
csharp-sdk
Public
Notifications
You must be signed in to change notification settings
Fork
791
Star
4.5k
Code
Issues
112
Pull requests
48
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Auto-populate completion handlers from AllowedValuesAttribute on prompt/resource parameters
- #1380
#1380
Merged
stephentoub
merged 11 commits into
main
modelcontextprotocol/csharp-sdk:main
from
copilot/implement-allowed-values-completion
modelcontextprotocol/csharp-sdk:copilot/implement-allowed-values-completion
Copy head branch name to clipboard
Mar 1, 2026
Conversation
Commits
11
(11)
Checks
Files changed
Merged
Auto-populate completion handlers from AllowedValuesAttribute on prompt/resource parameters
#1380
stephentoub
merged 11 commits into
main
modelcontextprotocol/csharp-sdk:main
from
copilot/implement-allowed-values-completion
modelcontextprotocol/csharp-sdk:copilot/implement-allowed-values-completion
Copy head branch name to clipboard
Commits
Commits on Feb 24, 2026
Initial plan
Copilot
committed
a80f30d
View commit details
Copy full SHA for a80f30d
Browse repository at this point
Augment ConfigureCompletion to extract enum values from prompt/resource JSON schemas and provide automatic completions
Show description for 5e7064e
Copilot
and
stephentoub
committed
5e7064e
View commit details
Copy full SHA for 5e7064e
Browse repository at this point
Add tests for automatic completion from AllowedValuesAttribute on prompt and resource parameters
Show description for 41b1c5c
Copilot
and
stephentoub
committed
41b1c5c
View commit details
Copy full SHA for 41b1c5c
Browse repository at this point
Simplify combining logic: always add values and preserve original HasMore state
Show description for 3693966
Copilot
and
stephentoub
committed
3693966
View commit details
Copy full SHA for 3693966
Browse repository at this point
Address PR review comments: fix completion filtering, JSON guards, and add AllowedValues docs
Show description for e634cc7
Copilot
and
stephentoub
committed
e634cc7
View commit details
Copy full SHA for e634cc7
Browse repository at this point
Commits on Feb 25, 2026
Merge branch 'main' into copilot/implement-allowed-values-completion
stephentoub
authored
1bf3635
View commit details
Copy full SHA for 1bf3635
Browse repository at this point
Merge branch 'main' into copilot/implement-allowed-values-completion
stephentoub
authored
970d260
View commit details
Copy full SHA for 970d260
Browse repository at this point
Guard AllowedValues test methods with #if NET for net472 compatibility
Show description for 90dd295
Copilot
and
stephentoub
committed
90dd295
View commit details
Copy full SHA for 90dd295
Browse repository at this point
Commits on Feb 27, 2026
Add AllowedValuesAttribute section with code samples to completions conceptual docs
Show description for 10b4748
Copilot
and
stephentoub
committed
10b4748
View commit details
Copy full SHA for 10b4748
Browse repository at this point
Merge branch 'main' into copilot/implement-allowed-values-completion
stephentoub
authored
b61ed6c
View commit details
Copy full SHA for b61ed6c
Browse repository at this point
Commits on Feb 28, 2026
Merge branch 'main' into copilot/implement-allowed-values-completion
stephentoub
authored
1380fa5
View commit details
Copy full SHA for 1380fa5
Browse repository at this point
You can’t perform that action at this time.