Skip to content

Commit

Permalink
show the env if set
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelneale committed Feb 4, 2025
1 parent 5602e5a commit 5f63b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/desktop/src/components/BottomMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function BottomMenu({ hasMessages }) {
className="flex items-center cursor-pointer"
onClick={() => setIsModelMenuOpen(!isModelMenuOpen)}
>
<span>{currentModel?.name || envModelProvider || 'Select Model'}</span>
<span>{envModelProvider || currentModel?.name || 'Select Model'}</span>
{isModelMenuOpen ? (
<ChevronDown className="w-4 h-4 ml-1" />
) : (
Expand Down

0 comments on commit 5f63b0c

Please sign in to comment.