Closed RicSanOP closed 1 year ago
I would like to suggest that you check the most recent version of the plugin, which is v0.3.1, as it features improved error messages that are more expressive. This update could enhance the overall performance and user experience of the plugin, and may provide helpful insights in the event of any issues that arise.
Hi @nhaouari, I am trying again now with most recent version (0.3.3). I have the developer console open and there is simply nothing being output. No errors, warnings or logs. I had hoped that inputting the trigger phrase would cause something to happen but no luck. Any advise on how to further troubleshoot?
@RicSanOP I would like to suggest that you check the most recent version of the plugin 0.3.13.
@nhaouari unfortunately that has not alleviated the issue. Could you perhaps point me to which part of the codebase is responsible for monitoring the trigger phrase and then triggering the auto-suggest. This way I can try debugging the issue. Otherwise is their a verbose mode that logs errors and warnings?
I understand that the issue is still persistent even after trying the suggested solution. In that case, it might be helpful to debug the codebase to identify the root cause of the problem. As for your question, the file responsible for implementing the auto-suggest feature is the 'auto-suggest.ts' file which you can find in the plugin's GitHub repository.
To enable verbose logging and see any error or warning messages, you can run "localStorage.debug = 'textgenerator:*'" in the console. This will show all the logs of the TextGenerator plugin.
However, before diving into the codebase, I would recommend trying to uninstall and reinstall the plugin, or testing it on a new vault to see if there is any conflict with another plugin. This might help resolve the issue without having to debug the code.
I hope this helps! Let me know if you have any further questions or concerns.
I am glad to inform you that we have fixed an issue in the auto-suggest issue with the GPT-4 model in the latest version of Text Generator, which is version 0.3.15.
However, I would also like to advise you that using GPT-4 model for auto-suggest might incur higher costs as compared to GPT 3.5 Turbo. Therefore, we highly recommend reviewing the pricing details on the OpenAI website prior to using this model for auto-suggest.
We appreciate your support and feedback as we continue to improve Text Generator. Please let us know if you have any further questions or concerns.
Hey @nhaouari. So I was able to get the auto suggest working. The issue is definitely some type of cross plugin conflict. I use Plugin Groups, and the way I resolved the issue was to just have Text Generator load before the majority of the other plugins I use (I kind of use a lot of plugins). I haven't pinpointed which exact plugin is causing this issue, but here is a list of the potential candidates with highlights showing where I have the most suspicion. Hope it helps... Thank you very much for all of your help the last few weeks in troubleshooting this issue.
{
"id": "sync-graph-settings",
"name": "Sync Graph Settings"
},
{
"id": "recent-files-obsidian",
"name": "Recent Files"
},
{
"id": "periodic-notes",
"name": "Periodic Notes"
},
{
"id": "obsidian-outliner",
"name": "Outliner"
},
{
"id": "link-nodes-in-canvas",
"name": "Link Nodes In Canvas"
},
{
"id": "obsidian-flexible-pomo",
"name": "Flexible Pomodoro For Obsidian"
},
{
"id": "obsidian-doubleshift",
"name": "Doubleshift"
},
{
"id": "obsidian-csv-table",
"name": "CSV Table"
},
{
"id": "canvas-presentation",
"name": "Canvas Presentation"
},
{
"id": "canvas-mindmap",
"name": "Canvas Mindmap"
},
{
"id": "buttons",
"name": "Buttons"
},
{
"id": "obsidian-auto-link-title",
"name": "Auto Link Title"
},
{
"id": "table-editor-obsidian",
"name": "Advanced Tables"
},
{
"id": "templater-obsidian",
"name": "Templater"
},
{
"id": "note-refactor-obsidian",
"name": "Note Refactor"
},
{
"id": "obsidian-tracker",
"name": "Tracker"
},
**{
"id": "convert-url-to-iframe",
"name": "Convert url to preview (iframe)"
},**
{
"id": "obsidian-wikipedia",
"name": "Wikipedia"
},
{
"id": "text-extractor",
"name": "Text Extractor"
},
{
"id": "workspaces-plus",
"name": "Workspaces Plus"
},
**{
"id": "obsidian-tikzjax",
"name": "TikZJax"
},**
{
"id": "obsidian-projects",
"name": "Projects"
},
{
"id": "numerals",
"name": "Numerals"
},
{
"id": "obsidian-latex-suite",
"name": "Latex Suite"
},
{
"id": "obsidian-excalidraw-plugin",
"name": "Excalidraw"
},
{
"id": "calendar",
"name": "Calendar"
},
{
"id": "obsidian-code-preview",
"name": "Code Preview"
},
{
"id": "highlightr-plugin",
"name": "Highlightr"
},
{
"id": "image-captions",
"name": "Image Captions"
},
{
"id": "omnisearch",
"name": "Omnisearch"
},
{
"id": "obsidian-columns",
"name": "Obsidian Columns"
},
{
"id": "execute-code",
"name": "Execute Code"
},
{
"id": "file-explorer-note-count",
"name": "File Explorer Note Count"
},
{
"id": "obsidian-custom-frames",
"name": "Custom Frames"
},
{
"id": "obsidian-banners",
"name": "Banners"
},
{
"id": "canvas-filter",
"name": "Canvas Filter"
},
{
"id": "obsidian-prozen",
"name": "ProZen"
},
{
"id": "obsidian-stille",
"name": "Stille"
},
{
"id": "obsidian-focus-mode",
"name": "Focus Mode"
},
**{
"id": "obsidian-icon-shortcodes",
"name": "Icon Shortcodes"
},**
{
"id": "obsidian-sakana-widget",
"name": "Sakana Widget"
},
{
"id": "obsidian-charts",
"name": "Obsidian Charts"
},
{
"id": "dbfolder",
"name": "DB Folder"
},
{
"id": "media-extended",
"name": "Media Extended"
},
{
"id": "obsidian-git",
"name": "Obsidian Git"
},
{
"id": "obsidian42-strange-new-worlds",
"name": "Obsidian42 - Strange New Worlds"
},
**{
"id": "emoji-shortcodes",
"name": "Emoji Shortcodes"
},**
{
"id": "avatar",
"name": "Avatar"
},
{
"id": "obsidian-task-marker",
"name": "Task Marker"
},
{
"id": "tag-wrangler",
"name": "Tag Wrangler"
},
{
"id": "obsidian-sortable",
"name": "Sortable"
},
{
"id": "obsidian-plugin-update-tracker",
"name": "Plugin Update Tracker"
},
{
"id": "obsidian-path-finder",
"name": "Path Finder"
},
{
"id": "mathpad",
"name": "Mathpad"
},
{
"id": "obsidian-image-toolkit",
"name": "Image Toolkit"
},
{
"id": "heatmap-calendar",
"name": "Heatmap Calendar"
},
{
"id": "file-explorer-note-count",
"name": "File Explorer Note Count"
},
{
"id": "drawio-obsidian",
"name": "Diagrams"
},
{
"id": "obsidian-checklist-plugin",
"name": "Checklist"
},
{
"id": "podnotes",
"name": "PodNotes"
},
{
"id": "hotkeysplus-obsidian",
"name": "Hotkeys++"
},
{
"id": "obsidian-linter",
"name": "Linter"
},
{
"id": "obsidian-raindrop-highlights",
"name": "Raindrop Highlights"
},
{
"id": "obsidian-text-format",
"name": "Text Format"
},
**{
"id": "obsidian-link-embed",
"name": "Link Embed"
},**
{
"id": "set-in-obsidian",
"name": "Set In Obsidian"
},
{
"id": "chronology",
"name": "Chronology"
},
**{
"id": "code-block-plugin",
"name": "Code Block"
},**
{
"id": "obsidian-emoji-toolbar",
"name": "Emoji Toolbar"
},
**{
"id": "nldates-obsidian",
"name": "Natural Language Dates"
},**
{
"id": "smart-random-note",
"name": "Smart Random Note"
},
{
"id": "obsidian-shellcommands",
"name": "Shell commands"
},
{
"id": "surfing",
"name": "Surfing"
},
{
"id": "translate",
"name": "Translate"
},
{
"id": "obsidian-transcription",
"name": "Transcription"
},
{
"id": "squiggle",
"name": "Squiggle"
},
{
"id": "keyboard-analyzer",
"name": "Keyboard Analyzer"
},
{
"id": "obsidian-link-converter",
"name": "Obsidian Link Converter"
},
{
"id": "card-board",
"name": "CardBoard"
},
{
"id": "obsidian-advanced-slides",
"name": "Advanced Slides"
},
{
"id": "obsidian-zotero-desktop-connector",
"name": "Zotero Integration"
},
{
"id": "obsidian-omnivore",
"name": "Omnivore"
},
**{
"id": "obsidian-hover-editor",
"name": "Hover Editor"
},**
{
"id": "terminal",
"name": "Terminal"
},
I just installed the plugin and set it all up. The generator commands work just fine, but I can't seem to get the auto suggest to work. I have tried several things from restarting obsidian, changing the start and stop phrases and trying to autosuggest on empty and non-empty lines. How can I troubleshoot this issue?