feat: Enhance agent tool compatibility and knowledge base filtering
- Introduced a unified capability requirements system for agent tools, ensuring consistent filtering of knowledge bases based on their capabilities. - Implemented derived `kb_filter` logic to streamline compatibility checks between agent tools and knowledge bases, reducing redundancy in configuration. - Updated frontend components to reflect new filtering logic, including improved handling of empty states and user feedback when no compatible knowledge bases are available. - Enhanced internationalization support by adding relevant messages for tool compatibility issues across multiple languages.
This commit is contained in:
@@ -1252,7 +1252,8 @@ export default {
|
||||
kbCount: '{count} документов',
|
||||
belongsToKb: 'База знаний: ',
|
||||
belongsToOrg: 'Пространство: ',
|
||||
readOnlyFromAgent: 'Только чтение (от агента)'
|
||||
readOnlyFromAgent: 'Только чтение (от агента)',
|
||||
noCompatibleKbForAgent: 'Инструменты текущего агента не соответствуют возможностям ни одной базы знаний в области видимости — нечего упомянуть.'
|
||||
},
|
||||
file: {
|
||||
upload: 'Загрузить файл',
|
||||
|
||||
Reference in New Issue
Block a user