Timothy J. Baek 7 ヶ月 前
コミット
426de76690
2 ファイル変更12 行追加4 行削除
  1. 4 0
      CHANGELOG.md
  2. 8 4
      src/lib/components/chat/Chat.svelte

+ 4 - 0
CHANGELOG.md

@@ -11,15 +11,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 - **🚀 WebSocket Redis Support**: Enhanced load balancing capabilities for multiple instance setups, promoting better performance and reliability in WebUI.
 - **🔧 Adjustable Chat Controls**: Introduced width-adjustable chat controls, enabling a personalized and more comfortable user interface.
+- **🌎 i18n Updates**: Improved and updated the Chinese translations.
 
 ### Fixed
 
 - **🌐 Task Model Unloading Issue**: Modified task handling to use the Ollama /api/chat endpoint instead of OpenAI compatible endpoint, ensuring models stay loaded and ready with custom parameters, thus minimizing delays in task execution.
 - **📝 Title Generation Fix for OpenAI Compatible APIs**: Resolved an issue preventing the generation of titles, enhancing consistency and reliability when using multiple API providers.
 - **🗃️ RAG Duplicate Collection Issue**: Fixed a bug causing repeated processing of the same uploaded file. Now utilizes indexed files to prevent unnecessary duplications, optimizing resource usage.
+- **🖼️ Image Generation Enhancement**: Refactored OpenAI image generation endpoint to be asynchronous, preventing the WebUI from becoming unresponsive during processing, thus enhancing user experience.
+- **🔓 Downgrade Authlib**: Reverted Authlib to version 1.3.1 to address and resolve issues concerning OAuth functionality.
 
 ### Changed
 
+- **🔍 Improved Message Interaction**: Enhanced the message node interface to allow for easier focus redirection with a simple click, streamlining user interaction.
 - **✨ Styling Refactor**: Updated WebUI styling for a cleaner, more modern look, enhancing user experience across the platform.
 
 ## [0.3.22] - 2024-09-19

+ 8 - 4
src/lib/components/chat/Chat.svelte

@@ -287,10 +287,14 @@
 
 		showControls.subscribe(async (value) => {
 			if (controlPane && !$mobile) {
-				if (value) {
-					controlPane.resize(parseInt(localStorage.getItem('chat-controls-size') || '35'));
-				} else {
-					controlPane.resize(0);
+				try {
+					if (value) {
+						controlPane.resize(parseInt(localStorage.getItem('chat-controls-size') || '35'));
+					} else {
+						controlPane.resize(0);
+					}
+				} catch (e) {
+					// ignore
 				}
 			}