Fixed a bug where you couldn't send results to the synonym assistant (#128)

This commit is contained in:
Thorsten Sommer 2024-09-08 11:12:15 +02:00 committed by GitHub
parent d0dbbccd56
commit 9dfabb3c55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View File

@ -13,10 +13,11 @@ public static class SendToExtensions
Components.CODING_ASSISTANT => "Coding Assistant",
Components.EMAIL_ASSISTANT => "E-Mail Assistant",
Components.LEGAL_CHECK_ASSISTANT => "Legal Check Assistant",
Components.SYNONYMS_ASSISTANT => "Synonym Assistant",
Components.CHAT => "New Chat",
_ => "Send to ...",
_ => Enum.GetName(typeof(Components), assistant)!,
};
public static SendToData GetData(this Components destination) => destination switch
@ -30,6 +31,7 @@ public static class SendToExtensions
Components.GRAMMAR_SPELLING_ASSISTANT => new(Event.SEND_TO_GRAMMAR_SPELLING_ASSISTANT, Routes.ASSISTANT_GRAMMAR_SPELLING),
Components.TEXT_SUMMARIZER_ASSISTANT => new(Event.SEND_TO_TEXT_SUMMARIZER_ASSISTANT, Routes.ASSISTANT_SUMMARIZER),
Components.LEGAL_CHECK_ASSISTANT => new(Event.SEND_TO_LEGAL_CHECK_ASSISTANT, Routes.ASSISTANT_LEGAL_CHECK),
Components.SYNONYMS_ASSISTANT => new(Event.SEND_TO_SYNONYMS_ASSISTANT, Routes.ASSISTANT_SYNONYMS),
Components.CHAT => new(Event.SEND_TO_CHAT, Routes.CHAT),

View File

@ -0,0 +1,2 @@
# v0.9.6, build 181 (2024-09-08 09:xx UTC)
- Fixed a bug where you couldn't send results to the synonym assistant.