Skip to content

feat: implement model selection tion#5

Merged
soderlind merged 1 commit intomainfrom
select/model
Jan 27, 2026
Merged

feat: implement model selection tion#5
soderlind merged 1 commit intomainfrom
select/model

Conversation

@soderlind
Copy link
Owner

This pull request introduces a major new feature: user-selectable Copilot models for alt text generation, along with improvements to documentation and settings management. Users can now choose from available vision-capable models via a dropdown in the settings, with the list dynamically fetched from the Copilot SDK. The default model is now configurable, and all relevant documentation has been updated.

Model Selection and Settings Integration

  • Added a settings dropdown in SettingsTab.jsx to select the Copilot model for alt text generation, with available models fetched dynamically and filtered to only show vision-capable options. The selected model is persisted in settings and used for all alt text generation jobs. [1] [2] [3] [4] [5] [6]

Copilot SDK Integration

  • Implemented the listModels() API in copilot-adapter.js to query available models from the Copilot SDK, detect vision capability, and provide model metadata. Added IPC and preload wiring to expose this API to the renderer. [1] [2] [3] [4]

Documentation Updates

  • Updated the README.md to include installation instructions for pre-built binaries, describe the new model selection feature in the settings table, and clarify the build process. [1] [2]
  • Added a new changelog entry for version 0.3.0, describing the model selection and SDK integration features.

Version Bump

  • Updated the application version to 0.3.0 in package.json to reflect the new features.

- Added a settings dropdown for selecting the Copilot CLI model for alt text generation in SettingsTab.jsx.
- Integrated dynamic model fetching from the GitHub Copilot SDK with a new listModels() API in copilot-adapter.js.
- Updated job handlers to use the selected model for alt text generation.
- Default model is now configurable via settings, replacing the hardcoded value.
- Enhanced CHANGELOG.md to document new features and changes for version 0.3.0.
- Updated README.md with installation instructions for pre-built binaries.
- Adjusted package.json to reflect the new version 0.3.0.
@soderlind soderlind merged commit e9fa0a5 into main Jan 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant