mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-24 12:20:14 +01:00
feat: enhance AgentHandoffs UI with localized beta label and improved layout
This commit is contained in:
parent
613be5103b
commit
dd72c32a84
2 changed files with 8 additions and 2 deletions
|
|
@ -126,8 +126,13 @@ const AgentHandoffs: React.FC<AgentHandoffsProps> = ({ field, currentAgentId })
|
|||
<CircleHelpIcon className="h-4 w-4 text-text-tertiary" />
|
||||
</HoverCardTrigger>
|
||||
</div>
|
||||
<div className="text-xs text-text-secondary">
|
||||
{edges.length} / {MAX_HANDOFFS}
|
||||
<div className="flex items-center gap-3">
|
||||
<div className="rounded-full border border-purple-600/40 bg-purple-500/10 px-2 py-0.5 text-xs font-medium text-purple-700 hover:bg-purple-700/10 dark:text-purple-400">
|
||||
{localize('com_ui_beta')}
|
||||
</div>
|
||||
<div className="text-xs text-text-secondary">
|
||||
{edges.length} / {MAX_HANDOFFS}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
|
|
|
|||
|
|
@ -668,6 +668,7 @@
|
|||
"com_ui_transferred_to_agent": "Transferred to {{0}}",
|
||||
"com_ui_transferred_to": "Transferred to",
|
||||
"com_ui_handoff_instructions": "Handoff instructions",
|
||||
"com_ui_beta": "Beta",
|
||||
"com_ui_agent_delete_error": "There was an error deleting the agent",
|
||||
"com_ui_agent_deleted": "Successfully deleted agent",
|
||||
"com_ui_agent_duplicate_error": "There was an error duplicating the agent",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue