feat: add gemini-3-flash support and comprehensive lint fixes#35
Merged
Merged
Conversation
- Add gemini-3-flash-preview and gemini-2.5-* context limits to ContextUsageIndicator. - Refactor WorkspacePicker to move selectWorkspaceFolder to lib/workspace-utils.ts to resolve React Fast Refresh warnings. - Fix missing explicit return types in ChatContainer, ModelSwitcher, ApiKeyDialog, MessageBubble, hreads.ts, and various Tab components. - Fix unused variable warnings in storage.ts and hread-context.tsx. - Fix import errors and ensure clean linting state across the renderer and main process.
Hunter Lovell (hntrl)
approved these changes
Jan 19, 2026
Member
Hunter Lovell (hntrl)
left a comment
There was a problem hiding this comment.
Thanks for the PR!
Member
|
Merging with a failing build -- won't release until we merge build + format fixes across the whole stack. |
3fdbc50
into
langchain-ai:main
0 of 4 checks passed
Contributor
Author
|
Thanks for the update! |
Sergio Masellis (sergiomasellis)
pushed a commit
to sergiomasellis/openwork
that referenced
this pull request
Jan 19, 2026
feat: add gemini-3-flash support and comprehensive lint fixes
4 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.
Description
This PR adds support for
gemini-3-flashand other recent Gemini models to the context awareness system, and performs a comprehensive linting pass to improve code quality and type safety across the application.Detailed Changes
Feature: Gemini 3 Support
ContextUsageIndicator: Added explicit context window configurations forgemini-3-flash-previewandgemini-2.5-flash-lite(and their pro variants), ensuring accurate token usage tracking for these new models.Refactoring & Performance
react-refresh/only-export-components). The selectWorkspaceFolder helper utility was moved to a separate file: src/renderer/src/lib/workspace-utils.ts.useEffectcalls that were causing cascading renders and replaced them with derived state.Lint Fixes (ESLint Cleanup)
Addressed extensive
explicit-function-return-typeandno-unused-varslint errors across the codebase:ImageViewer,MediaViewer,PDFViewer,BinaryFileViewer, and TabBar.electron.vite.config.ts.Related Issue
Fixes #36
Type of Change
Checklist
Additional Notes
This fixes the lint error in #17 pull request. 👍