GitHub GHAS Agentic Code Scanning — CAPI 400 model error #209114
Unanswered
patrickryankenneth
asked this question in
Code Security
Replies: 1 comment
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Code quality
Discussion Details
Summary
GitHub Advanced Security agentic code scanning failed before completing the analysis with:
CAPIError: 400 The requested model is not supportedThe runner explicitly attempted to create a Copilot SDK session using
claude-opus-5[ReasoningEffort=medium].Details
patrickryankenneth/python-wheels-buildsghas-code-scanning-agentic0.1.1426e6a0f2762a41ff824a86b598ac7bf85cf8fc131, 0.0.59, 1.4.457f8824868813c7aebf452f8730f78cd9327640c601B:27EB7A:A53C4B:C67E19:6ABC54774684080495214727083-1379118356-d5bf59ec-7c68-4cec-8997-348d83d557a3Relevant log
The repository was successfully prepared and the PR diff was fetched before the failure. The failure occurred when creating the model session, before the agentic review completed.
Steps to reproduce
github-advanced-securityscan to run.claude-opus-5[ReasoningEffort=medium].Expected behavior
The configured agentic code-scanning service should successfully select and invoke a model supported by the underlying CAPI integration, or gracefully report an unavailable model without failing the analysis job.
Actual behavior
The service requests
claude-opus-5[ReasoningEffort=medium], but the CAPI endpoint returns HTTP 400:The requested model is not supported.Could you confirm whether this is a model-availability/routing issue affecting the
ghas-code-scanning-agenticintegration, and whether the request ID above can be traced to the failing backend request?All reactions