Open
Conversation
Increased wait time for acknowledgement from 1 second to 3600 seconds.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the repository’s GitHub Models integration used by the issue triage automation to align with the newer GitHub Models endpoint and model naming format, ensuring both the GitHub Actions workflow and the local test harness call the same service correctly.
Changes:
- Switched GitHub Models API endpoint to
https://models.github.ai/inference/chat/completionsin workflow and local script. - Updated model identifier to
openai/gpt-4.1in both call sites. - Ensured
GITHUB_TOKENis available as an env var within the triage workflow step (and fixed a minor YAML indentation detail in secrets mapping).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| test-triage-local.js | Updates GitHub Models endpoint + model id used by the local triage test script. |
| .github/workflows/issue-triage.yml | Updates GitHub Models endpoint + model id for the triage workflow and ensures token env is present. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
📊 Code Coverage Report
Diff CoverageDiff: main...HEAD, staged and unstaged changesNo lines with coverage information in this diff. 📋 Files Needing Attention📉 Files with overall lowest coverage (click to expand)mssql_python.pybind.logger_bridge.cpp: 59.2%
mssql_python.pybind.ddbc_bindings.h: 67.8%
mssql_python.row.py: 70.5%
mssql_python.pybind.logger_bridge.hpp: 70.8%
mssql_python.pybind.ddbc_bindings.cpp: 74.2%
mssql_python.pybind.connection.connection.cpp: 75.8%
mssql_python.__init__.py: 77.3%
mssql_python.ddbc_bindings.py: 79.6%
mssql_python.pybind.connection.connection_pool.cpp: 79.6%
mssql_python.connection.py: 85.2%🔗 Quick Links
|
bewithgaurav
approved these changes
Apr 20, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Work Item / Issue Reference
Summary
This pull request updates the way the GitHub Models API is called in both the GitHub Actions workflow and the local test script. The main focus is on switching to the new API endpoint and updating the model identifier to the correct format.
API Endpoint and Model Updates:
models.inference.ai.azure.comtomodels.github.ai/inferencein both.github/workflows/issue-triage.ymlandtest-triage-local.jsto use the new GitHub Models service. [1] [2]"gpt-4.1"to"openai/gpt-4.1"in both files to match the expected model naming convention. [1] [2]Environment Variable Handling:
GITHUB_TOKENenvironment variable to theTriage Analysisstep in the workflow to ensure the token is available for API calls.