mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
2.7.12 (#978)
This commit is contained in:
parent
94b38292b7
commit
3124281e68
6 changed files with 8 additions and 9 deletions
|
|
@ -20,7 +20,7 @@ If you enjoy Copilot for Obsidian, please consider [sponsoring this project](htt
|
|||
<a href="https://www.buymeacoffee.com/logancyang" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 40px !important;width: 150px !important;" ></a>
|
||||
|
||||
SPECIAL THANKS TO OUR TOP SPONSORS:
|
||||
@mikelaaron, @pedramamini, @Arlorean, @dashinja, @azagore, @MTGMAD, @gpythomas, @emaynard, @scmarinelli, @borthwick, @adamhill, @gluecode, @rusi, @timgrote, @JiaruiYu-Consilium, @ddocta, @AMOz1, @chchwy, @pborenstein, @GitTom, @kazukgw, @mjluser1, @joesfer, @rwaal, @turnoutnow-harpreet, @dreznicek, @xrise-informatik, @jeremygentles, @ZhengRui, @bfoujols, @jsmith0475, @pagiaddlemon, @sebbyyyywebbyyy, @royschwartz2
|
||||
@mikelaaron, @pedramamini, @Arlorean, @dashinja, @azagore, @MTGMAD, @gpythomas, @emaynard, @scmarinelli, @borthwick, @adamhill, @gluecode, @rusi, @timgrote, @JiaruiYu-Consilium, @ddocta, @AMOz1, @chchwy, @pborenstein, @GitTom, @kazukgw, @mjluser1, @joesfer, @rwaal, @turnoutnow-harpreet, @dreznicek, @xrise-informatik, @jeremygentles, @ZhengRui, @bfoujols, @jsmith0475, @pagiaddlemon, @sebbyyyywebbyyy, @royschwartz2, @vikram11
|
||||
|
||||
[Changelog](https://github.com/logancyang/obsidian-copilot/releases)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "copilot",
|
||||
"name": "Copilot",
|
||||
"version": "2.7.11",
|
||||
"version": "2.7.12",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "An AI 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.7.11",
|
||||
"version": "2.7.12",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "obsidian-copilot",
|
||||
"version": "2.7.11",
|
||||
"version": "2.7.12",
|
||||
"license": "AGPL-3.0",
|
||||
"dependencies": {
|
||||
"@huggingface/inference": "^2.6.4",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "obsidian-copilot",
|
||||
"version": "2.7.11",
|
||||
"version": "2.7.12",
|
||||
"description": "ChatGPT integration for Obsidian",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ export default class CopilotPlugin extends Plugin {
|
|||
settingsUnsubscriber?: () => void;
|
||||
|
||||
async onload(): Promise<void> {
|
||||
await this.checkForUpdates();
|
||||
await this.loadSettings();
|
||||
this.settingsUnsubscriber = subscribeToSettingsChange(() => {
|
||||
const settings = getSettings();
|
||||
|
|
@ -97,8 +96,6 @@ export default class CopilotPlugin extends Plugin {
|
|||
name: "Open Copilot Chat Window",
|
||||
callback: async () => {
|
||||
this.activateView();
|
||||
// Check version
|
||||
await this.checkForUpdates();
|
||||
},
|
||||
});
|
||||
|
||||
|
|
@ -735,6 +732,7 @@ export default class CopilotPlugin extends Plugin {
|
|||
}));
|
||||
}
|
||||
|
||||
// TODO: Add a setting for this. Disable for now.
|
||||
private async checkForUpdates(): Promise<void> {
|
||||
try {
|
||||
const response = await requestUrl({
|
||||
|
|
|
|||
|
|
@ -69,5 +69,6 @@
|
|||
"2.7.8": "0.15.0",
|
||||
"2.7.9": "0.15.0",
|
||||
"2.7.10": "0.15.0",
|
||||
"2.7.11": "0.15.0"
|
||||
"2.7.11": "0.15.0",
|
||||
"2.7.12": "0.15.0"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue