mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-10-31 21:00:20 +00:00 
			
		
		
		
	Fixed a bug where you couldn't send results to the synonym assistant (#128)
This commit is contained in:
		
							parent
							
								
									d0dbbccd56
								
							
						
					
					
						commit
						9dfabb3c55
					
				| @ -13,10 +13,11 @@ public static class SendToExtensions | |||||||
|         Components.CODING_ASSISTANT => "Coding Assistant", |         Components.CODING_ASSISTANT => "Coding Assistant", | ||||||
|         Components.EMAIL_ASSISTANT => "E-Mail Assistant", |         Components.EMAIL_ASSISTANT => "E-Mail Assistant", | ||||||
|         Components.LEGAL_CHECK_ASSISTANT => "Legal Check Assistant", |         Components.LEGAL_CHECK_ASSISTANT => "Legal Check Assistant", | ||||||
|  |         Components.SYNONYMS_ASSISTANT => "Synonym Assistant", | ||||||
|          |          | ||||||
|         Components.CHAT => "New Chat", |         Components.CHAT => "New Chat", | ||||||
|          |          | ||||||
|         _ => "Send to ...", |         _ => Enum.GetName(typeof(Components), assistant)!, | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     public static SendToData GetData(this Components destination) => destination switch |     public static SendToData GetData(this Components destination) => destination switch | ||||||
| @ -30,9 +31,10 @@ public static class SendToExtensions | |||||||
|         Components.GRAMMAR_SPELLING_ASSISTANT => new(Event.SEND_TO_GRAMMAR_SPELLING_ASSISTANT, Routes.ASSISTANT_GRAMMAR_SPELLING), |         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.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.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), |         Components.CHAT => new(Event.SEND_TO_CHAT, Routes.CHAT), | ||||||
|              |          | ||||||
|         _ => new(Event.NONE, Routes.ASSISTANTS), |         _ => new(Event.NONE, Routes.ASSISTANTS), | ||||||
|     }; |     }; | ||||||
| } | } | ||||||
							
								
								
									
										2
									
								
								app/MindWork AI Studio/wwwroot/changelog/v0.9.6.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								app/MindWork AI Studio/wwwroot/changelog/v0.9.6.md
									
									
									
									
									
										Normal 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. | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user