mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
Patch 2.4.1 (#124)
This commit is contained in:
parent
3417043e6b
commit
106c5db279
7 changed files with 16 additions and 7 deletions
|
|
@ -37,6 +37,10 @@ My goal is to make this AI assistant **local-first** and **privacy-focused**. Mo
|
|||
|
||||
**Please make sure you go through this [Step-by-step setup guide](./localai_setup.md) to setup Local Copilot on your device correctly!**
|
||||
|
||||
I've got feedback about "Use Local Copilot" toggle being unnecesary, so it is removed in v2.4.1. Now, make sure your have `--cors` flag enabled in your LocalAI server (or .env `CORS=true` if you use Docker). Then simply fill in the OpenAI Proxy Base URL as "http://localhost:8080/v1" and restart the plugin to chat with your local models.
|
||||
|
||||
When you are done, clear the OpenAI Proxy Base URL to switch back to non-local models.
|
||||
|
||||
#### 🤗 New to Copilot? Quick Guide for Beginners:
|
||||
|
||||
<a href="https://www.youtube.com/watch?v=jRCDAg2sck8" target="_blank"><img src="./images/thumbnail.png" width="700" /></a>
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 174 KiB After Width: | Height: | Size: 294 KiB |
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "copilot",
|
||||
"name": "Copilot",
|
||||
"version": "2.4.0",
|
||||
"version": "2.4.1",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "A ChatGPT Copilot in Obsidian.",
|
||||
"author": "Logan Yang",
|
||||
|
|
|
|||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "obsidian-copilot",
|
||||
"version": "2.4.0",
|
||||
"version": "2.4.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "obsidian-copilot",
|
||||
"version": "2.4.0",
|
||||
"version": "2.4.1",
|
||||
"license": "AGPL-3.0",
|
||||
"dependencies": {
|
||||
"@huggingface/inference": "^1.8.0",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "obsidian-copilot",
|
||||
"version": "2.4.0",
|
||||
"version": "2.4.1",
|
||||
"description": "ChatGPT integration for Obsidian",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -397,8 +397,12 @@ export class CopilotSettingTab extends PluginSettingTab {
|
|||
);
|
||||
|
||||
containerEl.createEl('h4', { text: 'Local Copilot (EXPERIMENTAL, NO INTERNET NEEDED!!)' });
|
||||
containerEl.createEl('h6', { text: 'To use Local Copilot, please check the doc/demo video to set up LocalAI server on your device. Once ready, switch on the toggle below, type in the LocalAI Model name you have, and pick LocalAI in the Copilot Chat model selection dropdown to chat with it!' });
|
||||
containerEl.createEl('h6', { text: 'Local models can be limited in capabilities and may not work for some use cases at this time. Keep in mind that it is still in early experimental phase. But it is definitely fun to try out!' });
|
||||
containerEl.createEl('p', { text: 'To use Local Copilot, please check the doc to set up LocalAI server on your device. Once ready,' });
|
||||
containerEl.createEl('p', { text: '1. Set OpenAI Proxy Base URL to http://localhost:8080/v1 under Advanced Settings.' });
|
||||
containerEl.createEl('p', { text: '2. Type in the LocalAI Model name you have below.' });
|
||||
containerEl.createEl('p', { text: '3. Pick LocalAI in the Copilot Chat model selection dropdown to chat with it!' });
|
||||
containerEl.createEl('p', { text: 'Local models can be limited in capabilities and may not work for some use cases at this time. Keep in mind that it is still in early experimental phase. But it is definitely fun to try out!' });
|
||||
containerEl.createEl('h6', { text: 'When you are done, clear the OpenAI Proxy Base URL to switch back to non-local models.' });
|
||||
|
||||
new Setting(containerEl)
|
||||
.setName("LocalAI Model")
|
||||
|
|
|
|||
|
|
@ -21,5 +21,6 @@
|
|||
"2.3.4": "0.15.0",
|
||||
"2.3.5": "0.15.0",
|
||||
"2.3.6": "0.15.0",
|
||||
"2.4.0": "0.15.0"
|
||||
"2.4.0": "0.15.0",
|
||||
"2.4.1": "0.15.0"
|
||||
}
|
||||
Loading…
Reference in a new issue