diff --git a/README.md b/README.md
index 97995947..d80b341e 100644
--- a/README.md
+++ b/README.md
@@ -20,13 +20,15 @@ If you enjoy Copilot for Obsidian, please consider [sponsoring this project](htt
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, @vikram11, @amiable-dev, @khalidhalim, @DrJsPBs, @chishaku, @Andrea18500, @shayonpal, @rhm2k
+@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, @amiable-dev, @khalidhalim, @DrJsPBs, @chishaku, @Andrea18500, @shayonpal, @rhm2k, @snorcup, @JohnBub
[Changelog](https://github.com/logancyang/obsidian-copilot/releases)
-## 🤖 v2.7.13 Relevant Notes in Copilot Chat! 🚀
+## 🚀 v2.8.0 Revamped Settings, Inline Edit Dialog, and Relevant Notes in Copilot Chat! 🚀
-Introducing **Relevant Notes in Copilot Chat**! You can now see the collapsible **Relevant Notes** section at the top of the chat UI. It uses the same Copilot index you create for Vault QA. "Relevance" is determined by Copilot's own special algorithm based on hybrid search and Obsidian's note graph similarity, it is not just vector similarity. You can clearly see ranking factors such as the level of similarity and whether it has a direct link or backlink to the current note. You can also add any relevant note to chat with one click. The entire feature is developed by our great @zeroliu, one of our top contributors 💪. Enjoy!
+As we are fast approaching the **official launch of Copilot Plus**, we've revamped the settings page to make it more user-friendly and intuitive. Please share your feedback on the new settings page! We've also implemented a brand new experience for easier inline editing of selected text using Copilot commands such as `simplify`, `translate`, `fix grammar`, etc. You can now select text and see a list of them in your right-click context menu. (Thanks to @Emt-lin and @zeroliu for the contribution!)
+
+We've introduced **Relevant Notes in Copilot Chat** in the previous release. You can now see the collapsible **Relevant Notes** section at the top of the chat UI. It uses the same Copilot index you create for Vault QA. "Relevance" is determined by Copilot's own special algorithm based on hybrid search and Obsidian's note graph similarity, it is not just vector similarity. You can clearly see ranking factors such as the level of similarity and whether it has a direct link or backlink to the current note. You can also add any relevant note to chat with one click. The entire feature is developed by our great @zeroliu, one of our top contributors 💪. Enjoy!
diff --git a/manifest.json b/manifest.json
index 52005113..e88ee7b1 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,7 +1,7 @@
{
"id": "copilot",
"name": "Copilot",
- "version": "2.7.15",
+ "version": "2.8.0",
"minAppVersion": "0.15.0",
"description": "An AI Copilot in Obsidian.",
"author": "Logan Yang",
diff --git a/package-lock.json b/package-lock.json
index 0de5f41f..b422c40f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "obsidian-copilot",
- "version": "2.7.15",
+ "version": "2.8.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "obsidian-copilot",
- "version": "2.7.15",
+ "version": "2.8.0",
"license": "AGPL-3.0",
"dependencies": {
"@huggingface/inference": "^2.6.4",
diff --git a/package.json b/package.json
index 62affbfb..a8f7063f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "obsidian-copilot",
- "version": "2.7.15",
+ "version": "2.8.0",
"description": "ChatGPT integration for Obsidian",
"main": "main.js",
"scripts": {
diff --git a/src/LLMProviders/chainRunner.ts b/src/LLMProviders/chainRunner.ts
index 7818b4c2..f2d639d7 100644
--- a/src/LLMProviders/chainRunner.ts
+++ b/src/LLMProviders/chainRunner.ts
@@ -346,6 +346,8 @@ class CopilotPlusChainRunner extends BaseChainRunner {
// Check if this is a YouTube-only message
if (this.isYoutubeOnlyMessage(userMessage.message)) {
const url = extractYoutubeUrl(userMessage.message);
+ const failMessage =
+ "Transcript not available. Only videos with the auto transcript option turned on are supported at the moment.";
if (url) {
try {
const response = await BrevilabsClient.getInstance().youtube4llm(url);
@@ -360,16 +362,17 @@ class CopilotPlusChainRunner extends BaseChainRunner {
);
}
return this.handleResponse(
- "Transcript not available. Only English videos with the auto transcript option turned on are supported at the moment.",
+ failMessage,
userMessage,
abortController,
addMessage,
updateCurrentAiMessage,
debug
);
- } catch {
+ } catch (error) {
+ console.error("Error processing YouTube video:", error);
return this.handleResponse(
- "An error occurred while transcribing the YouTube video. Right now only English videos with the auto transcript option turned on are supported. Please check the error message in the console for more details.",
+ failMessage,
userMessage,
abortController,
addMessage,
diff --git a/versions.json b/versions.json
index a193a357..9c52d7e7 100644
--- a/versions.json
+++ b/versions.json
@@ -73,5 +73,6 @@
"2.7.12": "0.15.0",
"2.7.13": "0.15.0",
"2.7.14": "0.15.0",
- "2.7.15": "0.15.0"
+ "2.7.15": "0.15.0",
+ "2.8.0": "0.15.0"
}