your-papa / obsidian-Smart2Brain

An Obsidian plugin to interact with your privacy focused AI-Assistant making your second brain even smarter!
GNU Affero General Public License v3.0
417 stars 25 forks source link

Add currently opened note to chat context automatically #88

Open sammcj opened 3 months ago

sammcj commented 3 months ago

What happened?

It appears the currently opened document is not being properly added to the chat context, as such any conversations fail unless you type in the name of the document manually which seems odd.

image

Error Statement

No response

Smart Second Brain Version

1.0.2

Debug Info

SYSTEM INFO:
    Obsidian version: v1.5.12
    Installer version: v1.5.3
    Operating system: Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:49 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6020 23.4.0
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Base theme: light
    Community theme: Obsidian Nord v0.2.0
    Snippets enabled: 0
    Restricted mode: off
    Plugins installed: 53
    Plugins enabled: 46
        1: Excalidraw v2.1.3
        2: Advanced Tables v0.21.0
        3: Tasks v6.2.0
        4: Recent Files v1.3.10
        5: Mind Map v1.1.0
        6: Tag Wrangler v0.6.1
        7: Iconize v2.11.9
        8: Minimal Theme Settings v7.5.0
        9: Style Settings v1.0.8
        10: Templater v2.2.3
        11: Dataview v0.5.66
        12: Editor Syntax Highlight v0.1.3
        13: Image in Editor v2.2.6
        14: Paste URL into selection v1.7.0
        15: Editing Toolbar v2.4.12
        16: Dictionary v2.22.0
        17: Importer v1.6.1
        18: Etymology Lookup v1.0.2
        19: Advanced Slides v1.20.0
        20: Git v2.24.1
        21: Linter v1.23.2
        22: Omnisearch v1.22.0
        23: Advanced URI v1.40.1
        24: Various Complements v9.4.0
        25: Text Format v3.0.2
        26: Settings Search v1.3.10
        27: File Cleaner v0.1.5
        28: Pandoc Plugin v0.4.1
        29: ExcaliBrain v0.2.15
        30: Text Extractor v0.5.1
        31: File Explorer Note Count v1.2.1
        32: Code Emitter v0.1.4
        33: Smart Second Brain v1.0.2
        34: Kanban v1.5.3
        35: Homepage v3.8.0
        36: MAKE.md v0.9.12
        37: Table of Contents v0.2.0
        38: Timelines v0.3.2
        39: Auto Card Link v1.2.3
        40: Extract url content v0.12.1
        41: Colored Tags v5.0.0
        42: Markdown to Jira Converter v0.1.1
        43: ReadItLater v0.4.0
        44: Ollama Chat v0.0.3
        45: BRAT v1.0.1
        46: Breadcrumbs v4.0.101-beta

RECOMMENDATIONS:
    Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
    Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Leo310 commented 3 months ago

This is on purpose for now and not a bug but I understand that it may feel unintuitive. We will add this feature in a future release.