The Copilot plugin provides an AI-powered writing assistant that helps users generate ideas, organize notes, and create content. It offers various modes, including Chat mode for conversational writing and Vault QA mode for integrating with Obsidian's note-taking app. The plugin supports multiple models from OpenAI and Azure, allowing users to choose the most suitable one based on their needs. With its user-friendly interface and customization options, the Obsidian plugin is ideal for writers, researchers, and students seeking to streamline their writing process and enhance their productivity.
Copilot for Obsidian - Release v2.9.1
One big change in this release is the migration of Copilot custom commands, they are now saved as notes, same as custom prompts. We are unifying both into one system. Now you can edit them in Copilot settings under the Commands tab, or directly in the note, to enable them in the right-click menu or via /
slash commands in chat. Please let us know if you have any issues with this migration!
Other Significant Improvements
- OpenRouter Gemini 2.5 models added as builtin models, available in Projects mode as well! (Please click "Refresh Builtin Models" under the model table if you don't see them)
- Every model is configurable with its own parameters such as temperature, max tokens, top P, frequency penalty. Global params are removed to avoid confusion.
- Projects mode now has a new context UI! It's much easier to set and check the files under a project now!
- Introduced a new Copilot command "Add Selection to Chat Context" that adds the selected text to the chat context menu in Copilot Chat. It's also available in the right-click menu. (If you are familiar with Cursor, you can also assign this command with
cmd + shift + L
shortcut) - Files such as PDFs and EPUBs that are converted to markdown in Projects mode are cached as markdown now, find them under
<vault>/.copilot/file-content-cache/
. (Moving them out into the vault makes them indexable by Copilot, but keep in mind it may blow up your index size!) - Slash command
/
can be triggered anywhere in the chat input now (used to only trigger when input is empty), even mid-text! - Various bug fixes.
PRs
- #1584 Enable model params for copilot-plus-flash @logancyang
- #1580 Update max token default description in setting page @wenzhengjiang
- #1576 Add support for selected text context in chat component @logancyang
- #1575 Implement slash command detection and replacement in ChatInput @logancyang
- #1572 Update file cache to use markdown instead of json @logancyang
- #1571 Update ChatModels and add new OpenRouter models @logancyang
- #1570 Update dependencies and enhance project context modal @logancyang
- #1566 Enhance abort signal in chains @logancyang
- #1562 Support editing all parameters individually for each model @Emt-lin
- #1551 Support project context preview @Emt-lin
- #1549 Merge custom command with custom prompts @zeroliu
- #1581 Composer: fix compose block for empty note @wenzhengjiang
- #1568 Fix word completion triggers @logancyang
- #1560 Remove think tag for insert into note @logancyang
- #1552 Fix: Custom model verification, api key errors @Emt-lin
Troubleshoot
- v2.9.1 has a custom commands migration, please find those custom commands that failed the migration in your under an "unsupported" subfolder in your custom prompt folder. Please review the reason it failed and update properly to keep them supported.
- If you find models missing in any model table or dropdown, go to Copilot settings -> Models tab, find "Refresh Built-in Models" and click it. If it doesn't help, please report back!
- For
@Believer
and@poweruser
who are on a preview version, please backup your current<vault>/.obsidian/plugins/copilot/data.json
, reinstall the plugin and copy the data.json back to safely migrate to this update