chore: address Copilot + LibreChat agent reviewer comments

This commit is contained in:
Dustin Healy 2026-01-22 11:37:40 -08:00 committed by Danny Avila
parent 7c4b20b4a5
commit c58b739b9a
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
2 changed files with 10 additions and 11 deletions

View file

@ -111,6 +111,7 @@
"remark-math": "^6.0.0",
"remark-supersub": "^1.0.0",
"sse.js": "^2.5.0",
"styled-components": "^6.1.13",
"swr": "^2.3.8",
"tailwind-merge": "^1.9.1",
"tailwindcss-animate": "^1.0.5",

View file

@ -210,17 +210,15 @@ export default function ToolCall({
>
<div ref={contentRef}>
{showInfo && hasInfo && (
<>
<ToolCallInfo
key="tool-call-info"
input={args ?? ''}
output={output}
domain={authDomain || (domain ?? '')}
function_name={function_name}
pendingAuth={authDomain.length > 0 && !cancelled && progress < 1}
attachments={attachments}
/>
</>
<ToolCallInfo
key="tool-call-info"
input={args ?? ''}
output={output}
domain={authDomain || (domain ?? '')}
function_name={function_name}
pendingAuth={authDomain.length > 0 && !cancelled && progress < 1}
attachments={attachments}
/>
)}
</div>
</div>