Skip to content

Comments

🐛 Bugfix: Enhance model configuration checks and tool management for VLM and embedding models#2533

Open
Zhi-a wants to merge 2 commits intodevelopfrom
develop_no_select_model_error_message
Open

🐛 Bugfix: Enhance model configuration checks and tool management for VLM and embedding models#2533
Zhi-a wants to merge 2 commits intodevelopfrom
develop_no_select_model_error_message

Conversation

@Zhi-a
Copy link
Contributor

@Zhi-a Zhi-a commented Feb 24, 2026

  • Added checks for VLM and embedding model availability in ToolManagement component.
  • Updated the image service to return None if the VLM model configuration is missing.
  • Introduced tool disabling logic based on model availability.
  • Added internationalization support for error messages related to model configuration.
  • Updated styles and tooltips for better user experience in the frontend.

1、没有配置向量化模型,无法选择 知识库检索工具
2、没有配置视觉语言模型,无法选择 图片分析工具
3、智能体运行过程中,若视觉语言模型不可用,给出详细报错信息
#2237
#2357
https://github.com/user-attachments/assets/96695ec0-e838-47c9-80fe-7fb56843dcc4

…embedding models

- Added checks for VLM and embedding model availability in ToolManagement component.
- Updated the image service to return None if the VLM model configuration is missing.
- Introduced tool disabling logic based on model availability.
- Added internationalization support for error messages related to model configuration.
- Updated styles and tooltips for better user experience in the frontend.
@Zhi-a Zhi-a changed the title Develop no select model error message 🐛 Enhance model configuration checks and tool management for VLM and embedding models Feb 24, 2026
@Zhi-a Zhi-a changed the title 🐛 Enhance model configuration checks and tool management for VLM and embedding models 🐛 Bugfix: Enhance model configuration checks and tool management for VLM and embedding models Feb 24, 2026
…embedding models

- Added checks for VLM and embedding model availability in ToolManagement component.
- Updated the image service to return None if the VLM model configuration is missing.
- Introduced tool disabling logic based on model availability.
- Added internationalization support for error messages related to model configuration.
- Updated styles and tooltips for better user experience in the frontend.
@Zhi-a Zhi-a force-pushed the develop_no_select_model_error_message branch from 9b7f4c9 to 0ae6ed2 Compare February 24, 2026 09:03
@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant