diff --git a/RELEASE_NOTES/CHANGELOG.en.md b/RELEASE_NOTES/CHANGELOG.en.md index 803307b..2ab776f 100644 --- a/RELEASE_NOTES/CHANGELOG.en.md +++ b/RELEASE_NOTES/CHANGELOG.en.md @@ -12,7 +12,7 @@ This version introduces user-controllable timeout settings and flexible image up - ⏰ **User Timeout Control**: Added customizable timeout settings with flexible range from 30 seconds to 2 hours - ⏱️ **Countdown Timer**: Real-time countdown timer display at the top of the interface for visual time reminders - 🖼️ **Image Size Limits**: Added image upload size limit settings (unlimited/1MB/3MB/5MB) -- 🔧 **Base64 Compatibility Mode**: Added Base64 detail mode to improve image recognition compatibility with AI models like Gemini +- 🔧 **Base64 Compatibility Mode**: Added Base64 detail mode to improve image recognition compatibility with AI models - 🧹 **UV Cache Management Tool**: Added `cleanup_cache.py` script to help manage and clean UV cache space ## 🚀 Improvements @@ -57,7 +57,7 @@ This version introduces user-controllable timeout settings and flexible image up - ⏰ **User Timeout Control**: Added customizable timeout settings with flexible range from 30 seconds to 2 hours - ⏱️ **Countdown Timer**: Real-time countdown timer display at the top of the interface for visual time reminders - 🖼️ **Image Size Limits**: Added image upload size limit settings (unlimited/1MB/3MB/5MB) -- 🔧 **Base64 Compatibility Mode**: Added Base64 detail mode to improve image recognition compatibility with AI models like Gemini +- 🔧 **Base64 Compatibility Mode**: Added Base64 detail mode to improve image recognition compatibility with AI models - 🧹 **UV Cache Management Tool**: Added `cleanup_cache.py` script to help manage and clean UV cache space ### 🚀 Improvements diff --git a/RELEASE_NOTES/CHANGELOG.zh-CN.md b/RELEASE_NOTES/CHANGELOG.zh-CN.md index c84a142..699a541 100644 --- a/RELEASE_NOTES/CHANGELOG.zh-CN.md +++ b/RELEASE_NOTES/CHANGELOG.zh-CN.md @@ -12,7 +12,7 @@ - ⏰ **用户超时控制**: 新增可自定义的超时设置功能,支持 30 秒至 2 小时的弹性设置 - ⏱️ **倒数计时器**: 界面顶部显示实时倒数计时器,提供可视化的时间提醒 - 🖼️ **图片大小限制**: 新增图片上传大小限制设置(无限制/1MB/3MB/5MB) -- 🔧 **Base64 兼容模式**: 新增 Base64 详细模式,提升与 Gemini 等 AI 模型的图片识别兼容性 +- 🔧 **Base64 兼容模式**: 新增 Base64 详细模式,提升部分 AI 模型的图片识别兼容性 - 🧹 **UV Cache 管理工具**: 新增 `cleanup_cache.py` 脚本,协助管理和清理 UV cache 空间 ## 🚀 改进功能 @@ -57,7 +57,7 @@ uvx mcp-feedback-enhanced@v2.2.3 test - ⏰ **用户超时控制**: 新增可自定义的超时设置功能,支持 30 秒至 2 小时的弹性设置 - ⏱️ **倒数计时器**: 界面顶部显示实时倒数计时器,提供可视化的时间提醒 - 🖼️ **图片大小限制**: 新增图片上传大小限制设置(无限制/1MB/3MB/5MB) -- 🔧 **Base64 兼容模式**: 新增 Base64 详细模式,提升与 Gemini 等 AI 模型的图片识别兼容性 +- 🔧 **Base64 兼容模式**: 新增 Base64 详细模式,提升部分 AI 模型的图片识别兼容性 - 🧹 **UV Cache 管理工具**: 新增 `cleanup_cache.py` 脚本,协助管理和清理 UV cache 空间 ### 🚀 改进功能 diff --git a/RELEASE_NOTES/CHANGELOG.zh-TW.md b/RELEASE_NOTES/CHANGELOG.zh-TW.md index 919ba42..d6f2572 100644 --- a/RELEASE_NOTES/CHANGELOG.zh-TW.md +++ b/RELEASE_NOTES/CHANGELOG.zh-TW.md @@ -12,7 +12,7 @@ - ⏰ **用戶超時控制**: 新增可自訂的超時設定功能,支援 30 秒至 2 小時的彈性設定 - ⏱️ **倒數計時器**: 介面頂部顯示即時倒數計時器,提供視覺化的時間提醒 - 🖼️ **圖片大小限制**: 新增圖片上傳大小限制設定(無限制/1MB/3MB/5MB) -- 🔧 **Base64 相容模式**: 新增 Base64 詳細模式,提升與 Gemini 等 AI 模型的圖片識別相容性 +- 🔧 **Base64 相容模式**: 新增 Base64 詳細模式,提升部分 AI 模型的圖片識別相容性 - 🧹 **UV Cache 管理工具**: 新增 `cleanup_cache.py` 腳本,協助管理和清理 UV cache 空間 ## 🚀 改進功能 @@ -57,7 +57,7 @@ uvx mcp-feedback-enhanced@v2.2.3 test - ⏰ **用戶超時控制**: 新增可自訂的超時設定功能,支援 30 秒至 2 小時的彈性設定 - ⏱️ **倒數計時器**: 介面頂部顯示即時倒數計時器,提供視覺化的時間提醒 - 🖼️ **圖片大小限制**: 新增圖片上傳大小限制設定(無限制/1MB/3MB/5MB) -- 🔧 **Base64 相容模式**: 新增 Base64 詳細模式,提升與 Gemini 等 AI 模型的圖片識別相容性 +- 🔧 **Base64 相容模式**: 新增 Base64 詳細模式,提升部分 AI 模型的圖片識別相容性 - 🧹 **UV Cache 管理工具**: 新增 `cleanup_cache.py` 腳本,協助管理和清理 UV cache 空間 ### 🚀 改進功能 diff --git a/RELEASE_NOTES/v2.2.3/en.md b/RELEASE_NOTES/v2.2.3/en.md index 00c03fd..daae09f 100644 --- a/RELEASE_NOTES/v2.2.3/en.md +++ b/RELEASE_NOTES/v2.2.3/en.md @@ -7,7 +7,7 @@ This version introduces user-controllable timeout settings and flexible image up - ⏰ **User Timeout Control**: Added customizable timeout settings with flexible range from 30 seconds to 2 hours - ⏱️ **Countdown Timer**: Real-time countdown timer display at the top of the interface for visual time reminders - 🖼️ **Image Size Limits**: Added image upload size limit settings (unlimited/1MB/3MB/5MB) -- 🔧 **Base64 Compatibility Mode**: Added Base64 detail mode to improve image recognition compatibility with AI models like Gemini +- 🔧 **Base64 Compatibility Mode**: Added Base64 detail mode to improve image recognition compatibility with AI models - 🧹 **UV Cache Management Tool**: Added `cleanup_cache.py` script to help manage and clean UV cache space ## 🚀 Improvements diff --git a/RELEASE_NOTES/v2.2.3/zh-CN.md b/RELEASE_NOTES/v2.2.3/zh-CN.md index 9301c93..766aace 100644 --- a/RELEASE_NOTES/v2.2.3/zh-CN.md +++ b/RELEASE_NOTES/v2.2.3/zh-CN.md @@ -7,7 +7,7 @@ - ⏰ **用户超时控制**: 新增可自定义的超时设置功能,支持 30 秒至 2 小时的弹性设置 - ⏱️ **倒数计时器**: 界面顶部显示实时倒数计时器,提供可视化的时间提醒 - 🖼️ **图片大小限制**: 新增图片上传大小限制设置(无限制/1MB/3MB/5MB) -- 🔧 **Base64 兼容模式**: 新增 Base64 详细模式,提升与 Gemini 等 AI 模型的图片识别兼容性 +- 🔧 **Base64 兼容模式**: 新增 Base64 详细模式,提升部分 AI 模型的图片识别兼容性 - 🧹 **UV Cache 管理工具**: 新增 `cleanup_cache.py` 脚本,协助管理和清理 UV cache 空间 ## 🚀 改进功能 diff --git a/RELEASE_NOTES/v2.2.3/zh-TW.md b/RELEASE_NOTES/v2.2.3/zh-TW.md index 5cf995a..ce761b4 100644 --- a/RELEASE_NOTES/v2.2.3/zh-TW.md +++ b/RELEASE_NOTES/v2.2.3/zh-TW.md @@ -7,7 +7,7 @@ - ⏰ **用戶超時控制**: 新增可自訂的超時設定功能,支援 30 秒至 2 小時的彈性設定 - ⏱️ **倒數計時器**: 介面頂部顯示即時倒數計時器,提供視覺化的時間提醒 - 🖼️ **圖片大小限制**: 新增圖片上傳大小限制設定(無限制/1MB/3MB/5MB) -- 🔧 **Base64 相容模式**: 新增 Base64 詳細模式,提升與 Gemini 等 AI 模型的圖片識別相容性 +- 🔧 **Base64 相容模式**: 新增 Base64 詳細模式,提升部分 AI 模型的圖片識別相容性 - 🧹 **UV Cache 管理工具**: 新增 `cleanup_cache.py` 腳本,協助管理和清理 UV cache 空間 ## 🚀 改進功能 diff --git a/release_body.md b/release_body.md index 5b08436..5da6d17 100644 --- a/release_body.md +++ b/release_body.md @@ -10,7 +10,7 @@ This version introduces user-controllable timeout settings and flexible image up - ⏰ **User Timeout Control**: Added customizable timeout settings with flexible range from 30 seconds to 2 hours - ⏱️ **Countdown Timer**: Real-time countdown timer display at the top of the interface for visual time reminders - 🖼️ **Image Size Limits**: Added image upload size limit settings (unlimited/1MB/3MB/5MB) -- 🔧 **Base64 Compatibility Mode**: Added Base64 detail mode to improve image recognition compatibility with AI models like Gemini +- 🔧 **Base64 Compatibility Mode**: Added Base64 detail mode to improve image recognition compatibility with AI models - 🧹 **UV Cache Management Tool**: Added `cleanup_cache.py` script to help manage and clean UV cache space ## 🚀 Improvements @@ -56,7 +56,7 @@ uvx mcp-feedback-enhanced@v2.2.3 test - ⏰ **用戶超時控制**: 新增可自訂的超時設定功能,支援 30 秒至 2 小時的彈性設定 - ⏱️ **倒數計時器**: 介面頂部顯示即時倒數計時器,提供視覺化的時間提醒 - 🖼️ **圖片大小限制**: 新增圖片上傳大小限制設定(無限制/1MB/3MB/5MB) -- 🔧 **Base64 相容模式**: 新增 Base64 詳細模式,提升與 Gemini 等 AI 模型的圖片識別相容性 +- 🔧 **Base64 相容模式**: 新增 Base64 詳細模式,提升部分 AI 模型的圖片識別相容性 - 🧹 **UV Cache 管理工具**: 新增 `cleanup_cache.py` 腳本,協助管理和清理 UV cache 空間 ## 🚀 改進功能 @@ -102,7 +102,7 @@ uvx mcp-feedback-enhanced@v2.2.3 test - ⏰ **用户超时控制**: 新增可自定义的超时设置功能,支持 30 秒至 2 小时的弹性设置 - ⏱️ **倒数计时器**: 界面顶部显示实时倒数计时器,提供可视化的时间提醒 - 🖼️ **图片大小限制**: 新增图片上传大小限制设置(无限制/1MB/3MB/5MB) -- 🔧 **Base64 兼容模式**: 新增 Base64 详细模式,提升与 Gemini 等 AI 模型的图片识别兼容性 +- 🔧 **Base64 兼容模式**: 新增 Base64 详细模式,提升部分 AI 模型的图片识别兼容性 - 🧹 **UV Cache 管理工具**: 新增 `cleanup_cache.py` 脚本,协助管理和清理 UV cache 空间 ## 🚀 改进功能 diff --git a/src/mcp_feedback_enhanced/gui/locales/en/translations.json b/src/mcp_feedback_enhanced/gui/locales/en/translations.json index 3a886b6..cf1e6a1 100644 --- a/src/mcp_feedback_enhanced/gui/locales/en/translations.json +++ b/src/mcp_feedback_enhanced/gui/locales/en/translations.json @@ -87,7 +87,7 @@ "5mb": "5MB" }, "base64Detail": "Base64 Compatibility Mode", - "base64DetailHelp": "When enabled, includes complete Base64 image data in text to improve compatibility with AI models like Gemini", + "base64DetailHelp": "When enabled, includes complete Base64 image data in text to improve compatibility with AI models ", "base64Warning": "⚠️ Increases transmission size", "compatibilityHint": "💡 Images not recognized correctly?", "enableBase64Hint": "Try enabling Base64 compatibility mode" diff --git a/src/mcp_feedback_enhanced/gui/locales/zh-CN/translations.json b/src/mcp_feedback_enhanced/gui/locales/zh-CN/translations.json index 3147edf..505bcbb 100644 --- a/src/mcp_feedback_enhanced/gui/locales/zh-CN/translations.json +++ b/src/mcp_feedback_enhanced/gui/locales/zh-CN/translations.json @@ -72,7 +72,7 @@ "5mb": "5MB" }, "base64Detail": "Base64 兼容模式", - "base64DetailHelp": "启用后会在文本中包含完整的 Base64 图片数据,提升与 Gemini 等 AI 模型的兼容性", + "base64DetailHelp": "启用后会在文本中包含完整的 Base64 图片数据,提升部分 AI 模型的兼容性", "base64Warning": "⚠️ 会增加传输量", "compatibilityHint": "💡 图片无法正确识别?", "enableBase64Hint": "尝试启用 Base64 兼容模式" diff --git a/src/mcp_feedback_enhanced/gui/locales/zh-TW/translations.json b/src/mcp_feedback_enhanced/gui/locales/zh-TW/translations.json index d479f00..8257ce4 100644 --- a/src/mcp_feedback_enhanced/gui/locales/zh-TW/translations.json +++ b/src/mcp_feedback_enhanced/gui/locales/zh-TW/translations.json @@ -88,7 +88,7 @@ "5mb": "5MB" }, "base64Detail": "Base64 相容模式", - "base64DetailHelp": "啟用後會在文字中包含完整的 Base64 圖片資料,提升與 Gemini 等 AI 模型的相容性", + "base64DetailHelp": "啟用後會在文字中包含完整的 Base64 圖片資料,提升部分 AI 模型的相容性", "base64Warning": "⚠️ 會增加傳輸量", "compatibilityHint": "💡 圖片無法正確識別?", "enableBase64Hint": "嘗試啟用 Base64 相容模式" diff --git a/src/mcp_feedback_enhanced/gui/widgets/image_upload.py b/src/mcp_feedback_enhanced/gui/widgets/image_upload.py index 2a1c208..f2e79bf 100644 --- a/src/mcp_feedback_enhanced/gui/widgets/image_upload.py +++ b/src/mcp_feedback_enhanced/gui/widgets/image_upload.py @@ -94,8 +94,8 @@ class ImageUploadWidget(QWidget): settings_layout.setContentsMargins(8, 8, 8, 8) # 圖片大小限制設定 - size_label = QLabel(t('images.settings.sizeLimit') + ":") - size_label.setStyleSheet("color: #cccccc; font-size: 9px;") + self.size_label = QLabel(t('images.settings.sizeLimit') + ":") + self.size_label.setStyleSheet("color: #cccccc; font-size: 11px;") self.size_limit_combo = QComboBox() self.size_limit_combo.addItem(t('images.settings.sizeLimitOptions.unlimited'), 0) @@ -119,14 +119,14 @@ class ImageUploadWidget(QWidget): self.base64_checkbox.setToolTip(t('images.settings.base64DetailHelp')) # Base64 警告標籤 - base64_warning = QLabel(t('images.settings.base64Warning')) - base64_warning.setStyleSheet("color: #ff9800; font-size: 8px;") + self.base64_warning = QLabel(t('images.settings.base64Warning')) + self.base64_warning.setStyleSheet("color: #ff9800; font-size: 10px;") # 添加到佈局 - settings_layout.addWidget(size_label) + settings_layout.addWidget(self.size_label) settings_layout.addWidget(self.size_limit_combo) settings_layout.addWidget(self.base64_checkbox) - settings_layout.addWidget(base64_warning) + settings_layout.addWidget(self.base64_warning) settings_layout.addStretch() layout.addWidget(settings_group) @@ -689,6 +689,13 @@ class ImageUploadWidget(QWidget): if hasattr(self, 'title'): self.title.setText(t('images.title')) + # 更新設定區域標籤 + if hasattr(self, 'size_label'): + self.size_label.setText(t('images.settings.sizeLimit') + ":") + + if hasattr(self, 'base64_warning'): + self.base64_warning.setText(t('images.settings.base64Warning')) + # 更新設定區域文字 if hasattr(self, 'size_limit_combo'): # 保存當前選擇 diff --git a/src/mcp_feedback_enhanced/web/templates/feedback.html b/src/mcp_feedback_enhanced/web/templates/feedback.html index eba17ff..747425c 100644 --- a/src/mcp_feedback_enhanced/web/templates/feedback.html +++ b/src/mcp_feedback_enhanced/web/templates/feedback.html @@ -1116,7 +1116,7 @@ ⚠️ 會增加傳輸量
- 啟用後會在文字中包含完整的 Base64 圖片資料,提升與 Gemini 等 AI 模型的相容性 + 啟用後會在文字中包含完整的 Base64 圖片資料,提升部分 AI 模型的相容性
@@ -1244,7 +1244,7 @@ ⚠️ 會增加傳輸量
- 啟用後會在文字中包含完整的 Base64 圖片資料,提升與 Gemini 等 AI 模型的相容性 + 啟用後會在文字中包含完整的 Base64 圖片資料,提升部分 AI 模型的相容性