mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
🗨️ fix: Show ModelSpec Greeting (#6770)
This commit is contained in:
parent
4afab52fc5
commit
018143b5cc
1 changed files with 3 additions and 3 deletions
|
|
@ -52,7 +52,7 @@ export default function Landing({ centerFormOnLanding }: { centerFormOnLanding:
|
||||||
});
|
});
|
||||||
|
|
||||||
const name = entity?.name ?? '';
|
const name = entity?.name ?? '';
|
||||||
const description = entity?.description ?? '';
|
const description = (entity?.description || conversation?.greeting) ?? '';
|
||||||
|
|
||||||
const getGreeting = useCallback(() => {
|
const getGreeting = useCallback(() => {
|
||||||
if (typeof startupConfig?.interface?.customWelcome === 'string') {
|
if (typeof startupConfig?.interface?.customWelcome === 'string') {
|
||||||
|
|
@ -186,8 +186,8 @@ export default function Landing({ centerFormOnLanding }: { centerFormOnLanding:
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{(isAgent || isAssistant) && description && (
|
{description && (
|
||||||
<div className="animate-fadeIn mt-2 max-w-md text-center text-sm font-normal text-text-primary">
|
<div className="animate-fadeIn mt-4 max-w-md text-center text-sm font-normal text-text-primary">
|
||||||
{description}
|
{description}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue