ThunderAI icon indicating copy to clipboard operation
ThunderAI copied to clipboard

Bug in tag-adding if I create it manually

Open devRolige opened this issue 7 months ago • 6 comments

The problem

I've noticed that the tag-adding functionality doesn't seem to work with tags I've manually created in Thunderbird. For example, if I create a "Work" tag and then ask the AI to add it to messages about work, it won't apply. The workaround is that the tag must not exist for the AI to add it. Once the AI creates the tag, it can to be added to next messages without any problems.

Which Operative System are you using?

11 24H2

Which version of Thunderbird are you using?

138

Which version of ThunderAI has the issue?

3.5.0pre1

Which integration are you using?

ChatGPT Web Interface

Anything in the Thunderbird console logs that might be useful?


Additional information

No response

devRolige avatar May 23 '25 12:05 devRolige

Are you using some addon for the tags? The tags you add manually have some capitol letters? May you also post a screenshot of the configuration in the "Add tags" page? Thank you.

micz avatar May 23 '25 17:05 micz

Yep, my tags started with a capital letter. I'm using QNote, and it adds a "Notatki" tag whenever I put a note on a message, but I don't really think that's the problem. Sorry but I'm done testing this. I'm satisfied with the current configuration and don't want to risk breaking anything.

The "AI" and "Faktury" (Invoices) tags are working as expected and are being added to the correct messages, but only when they are created by the addon and not when added manually in Thunderbird settings.

Image

devRolige avatar May 24 '25 01:05 devRolige

Thank you for your feedback. I suspect it's something related to the case of the tags. May you post a screenshot of this page in yuoir Thunderbird, so I can use your same configuration when testing?

Image

Thank you.

micz avatar May 24 '25 15:05 micz

I think the problem is not only related to the case sensitive check, but also to the way ThunderAI checks the existance of tags. I file issue #390 to fix this problem.

May you test this version that should fix this bug?

Please follow this steps:

  1. Download the file thunderai-v3.5.0_issue_390.zip
  2. Rename it from *.zip to *.xpi
  3. Backup your custom prompts if you have any
  4. Install this version

Thank you!

micz avatar May 25 '25 09:05 micz

I think the problem is not only related to the case sensitive check, but also to the way ThunderAI checks the existance of tags.

You're probably right. I had trouble with this function when I included {%tags_full_list%} in the command. My command was something like: "Restrict to tags only: {%tags_full_list%}" When I changed it to: "Restrict to tags only: Tag1, Tag2, Tag3" tags are successfully added.

My settings:

Image

I disabled the automatic adding but the feature works for me after this. For now I'm not installing the update. The addon works well and I'm really afraid of breaking it. I've spent too much time configuring it.

devRolige avatar May 25 '25 12:05 devRolige

I understand, no problem. Please consider that the next version will include this modifcation.

You really found again a bug not easy to spot. Again. Thank you! 😁

micz avatar May 25 '25 16:05 micz

Fixed in version 3.5.0.

micz avatar May 30 '25 15:05 micz