chore: bump cortex version and fix misc UI issues (#4654)

This commit is contained in:
Louis 2025-02-15 10:18:26 +07:00 committed by GitHub
parent 9aed6523ea
commit d472f2e30c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 15 additions and 11 deletions

View File

@ -1 +1 @@
1.0.10-rc7 1.0.10-rc9

View File

@ -124,6 +124,7 @@ const LocalServerRightPanel = () => {
clipboard.copy(selectedModel?.id) clipboard.copy(selectedModel?.id)
}} }}
suffixIcon={ suffixIcon={
selectedModel ? (
clipboard.copied ? ( clipboard.copied ? (
<CheckIcon <CheckIcon
size={14} size={14}
@ -135,6 +136,9 @@ const LocalServerRightPanel = () => {
className="cursor-pointer text-[hsla(var(--text-secondary))]" className="cursor-pointer text-[hsla(var(--text-secondary))]"
/> />
) )
) : (
<></>
)
} }
/> />
</div> </div>

View File

@ -65,7 +65,7 @@ export const getTitleByEngine = (engine: InferenceEngine | string) => {
case InferenceEngine.openrouter: case InferenceEngine.openrouter:
return 'OpenRouter' return 'OpenRouter'
case 'google_gemini': case 'google_gemini':
return 'Gemini' return 'Google'
default: default:
return engine.charAt(0).toUpperCase() + engine.slice(1) return engine.charAt(0).toUpperCase() + engine.slice(1)
} }