Fixed a bug where you couldn't send results to the synonym assistant

This commit is contained in:
Thorsten Sommer 2024-09-08 11:11:42 +02:00
parent d0dbbccd56
commit d9a0ba8ef4
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
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.