Open
Conversation
Co-authored-by: JonnyTran <4750391+JonnyTran@users.noreply.github.com>
Co-authored-by: JonnyTran <4750391+JonnyTran@users.noreply.github.com>
- Update `BaseSimpleTable` adapter to pass the full column configuration (including editor params) instead of just name/type. - Update `RenderTable` logic to respect custom column settings (like `editor: "list"`) by prioritizing schema config over defaults. - Add watcher to `columnsConfig` in `RenderTable` to ensure dropdown options update reactively when new files are uploaded.
- Add missing `$emit('cell-edited')` in `RenderTable`'s tabulator handler.
- Ensures parent components are notified of changes to trigger state updates like the unmapped files counter.
…irectly injecting the token
12 tasks
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.
[Feature] Integrate LiteLLM and GitHub Copilot for streaming
/chatDescription
This PR implements the backend architecture to route chat requests to GitHub Copilot's models (
gpt-4o,text-embedding-3-small) using thelitellmSDK, supporting SSE streaming and isolated user authentication.Key Additions:
/chatEndpoint: Addedapi/handlers/v1/chat.pywhich accepts chat histories, handles optional RAG dataset context, and returns a Server-Sent Events (SSE) stream.api_keyexplicitly via the function call rather than mutatingos.environ, preventing cross-talk race conditions between concurrent users.GitHubDeviceFlowAuthto generate, poll, and store GitHub tokens securely in isolated user XDG directories (~/.extralit/data/users/{username}/...).LiteLLMContextto ensure any temporary files generated by the SDK are kept strictly within the authenticated user's directory.Related Tickets & Documents
Steps to QA
/auth/github/loginand/pollendpoints to generate a localgithub_token.json.POST /api/v1/chatendpoint with{"model": "copilot", "messages": [...], "stream": true}.data: ...).