Repository navigation
feat: Add Copilot chat and embeddings via LiteLLM - #2620
Open
Chris Trevino (darthtrevino) wants to merge 5 commits into
Open
Chris Trevino (darthtrevino) wants to merge 5 commits into
Chris Trevino (darthtrevino) wants to merge 5 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Chris Trevino (darthtrevino)
marked this pull request as ready for review
November 4, 2026 21:39
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This branch has not been deployed
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.
Summary
Add explicit provider-managed authentication to GraphRAG’s existing LiteLLM completion and embedding implementations. This enables providers such as
github_copilotwithout dummy API keys, custom adapters, or Azure managed identity workarounds.Changes
auth_method: provider, leaving login, credential caching, token refresh, and transport to LiteLLM.Validation
gpt-4oreturnedOK, using 13 total tokens.text-embedding-3-smallreturned one 1,536-dimensional vector, using 2 total tokens.Downstream follow-up
BenchmarkQED can adopt provider-managed authentication after a GraphRAG release containing these changes. That downstream release dependency does not block this PR.
Live probes covered basic chat and embeddings, not structured-output quality or all account/model combinations.