Replies: 2 comments
-
|
Hi @ekse. You can check what models are available by running this command: The models that the script is trying to use can be found in this file: https://github.com/GitHubSecurityLab/seclab-taskflows/blob/main/src/seclab_taskflows/configs/model_config.yaml Do you have a GitHub Copilot Pro license? If you don't then that might be the reason why you don't have access to gpt-5.2, which is what the script is trying to use. During codespace initialization, it checks whether you have access to the Copilot API. If you don't, then it defaults to using the https://models.github.ai/inference endpoint instead, which doesn't have access to the same list of models. You can check what happened by looking at the auto-generated |
Beta Was this translation helpful? Give feedback.
-
|
Thanks Kevin fro the detailed response. I have a Copilot Business subscription, the command returns available models. gpt-5.2 does not seem to be available anymore with the release of 5.3 and 5.4. I tried setting it to gpt-5.4 or claude-sonnet-4.6 in model_config.yaml, I am still getting Bad Request errors. AI_API_ENDPOINT is set to https://api.githubcopilot.com in the .env file. Based on the output it looks like it is trying to call the openai API which doesn't seem right. .env model_config.yaml |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I saw How to scan for vulnerabilities with GitHub Security Lab’s open source AI-powered framework on the github blog and tried following the instructions to run the tool in a codespace. I am getting "model not supported" errors in the output. (I removed the Github Security banner as it takes a lot of space).
I have a Copilot subscription. Is there something I need to configure for this to work?
Beta Was this translation helpful? Give feedback.
All reactions