mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 02:10:15 +01:00
🔌 fix: Minor Plugins Improvements (#1766)
* fix(PluginsClient): don't invoke `getFunctionModelName` when using Azure OpenAI * fix: plugins styling fix with new cursor * ci(PluginsClient): test azure exception for getFunctionModelName
This commit is contained in:
parent
a2e85b7053
commit
d2494e6b3b
6 changed files with 45 additions and 7 deletions
|
|
@ -72,7 +72,13 @@ const Markdown = memo(({ content, message, showCursor }: TContentProps) => {
|
|||
|
||||
if (isInitializing) {
|
||||
rehypePlugins.pop();
|
||||
return <span className="result-thinking" />;
|
||||
return (
|
||||
<div className="absolute">
|
||||
<p className="relative">
|
||||
<span className="result-thinking" />
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
let isValidIframe: string | boolean | null = false;
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ const MessageContent = ({
|
|||
{showText ? (
|
||||
<DisplayMessage
|
||||
key={`display-${messageId}-${idx}`}
|
||||
showCursor={isLastIndex && isLast}
|
||||
showCursor={isLastIndex && isLast && isSubmitting}
|
||||
text={currentText}
|
||||
{...props}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ const Plugin: React.FC<PluginProps> = ({ plugin }) => {
|
|||
<div
|
||||
className={cn(
|
||||
plugin.loading ? 'bg-green-100' : 'bg-gray-20',
|
||||
'flex items-center rounded p-3 text-xs text-gray-900',
|
||||
'my-1 flex items-center rounded p-3 text-xs text-gray-900',
|
||||
)}
|
||||
>
|
||||
<div>
|
||||
|
|
|
|||
|
|
@ -1815,7 +1815,7 @@ html {
|
|||
display:block;
|
||||
height:12px;
|
||||
position:absolute;
|
||||
top:32px;
|
||||
top:-11px;
|
||||
-webkit-transform:translateZ(0);
|
||||
transform:translateZ(0);
|
||||
-webkit-transform-origin:center;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue