feat(creator_name): add creator_name field to agents and knowledge bases for enhanced visibility
Introduced a new optional field, creator_name, in both CustomAgent and KnowledgeBase types to allow the front end to display the creator's name. This enhancement enables better differentiation between resources created by the current user and those created by other members of the same tenant. Updated relevant API handlers to populate this field during list operations, ensuring accurate representation in the UI. Additionally, modified the ResourceOriginBadge component to utilize the creator_name for improved context in resource listings. Refs: #1303
This commit is contained in:
@@ -517,6 +517,11 @@ export default {
|
||||
mine: 'My Agents',
|
||||
sharedToMe: 'Shared to Me'
|
||||
},
|
||||
sections: {
|
||||
tenantReadonly: 'Рабочая область · Только просмотр',
|
||||
sharedEditable: 'Доступно мне · Можно редактировать',
|
||||
sharedReadonly: 'Доступно мне · Только просмотр'
|
||||
},
|
||||
empty: {
|
||||
title: 'No Custom Agents',
|
||||
description: 'Click the button in the top right to create your first agent',
|
||||
@@ -1850,7 +1855,10 @@ export default {
|
||||
},
|
||||
sections: {
|
||||
pinned: 'Закреплённые',
|
||||
others: 'Другие'
|
||||
others: 'Другие',
|
||||
tenantReadonly: 'Рабочая область · Только просмотр',
|
||||
sharedEditable: 'Доступно мне · Можно редактировать',
|
||||
sharedReadonly: 'Доступно мне · Только просмотр'
|
||||
},
|
||||
messages: {
|
||||
deleted: 'База знаний удалена',
|
||||
|
||||
Reference in New Issue
Block a user