update model star

This commit is contained in:
duanfuxiang 2025-04-24 18:34:42 +08:00
parent 2ce1e11c05
commit 0178a9b024

View File

@ -419,9 +419,6 @@ export function ModelSelect() {
{isLoading ? (
<div className="infio-loading">loading...</div>
) : (
<>
{/* 所有模型区域 */}
<div className="infio-model-section">
<ul>
{filteredOptions.map((option, index) => {
@ -476,7 +473,6 @@ export function ModelSelect() {
})}
</ul>
</div>
</>
)}
</DropdownMenu.Content>
</DropdownMenu.Portal>
@ -580,7 +576,7 @@ export function ModelSelect() {
display: flex;
align-items: center;
flex: 0 0 auto;
width: 30%;
width: 45%;
}
/* Provider selector */
@ -623,7 +619,7 @@ export function ModelSelect() {
display: flex;
align-items: center;
flex: 1 1 auto;
width: 70%;
width: 50%;
}
/* Search input */
@ -653,8 +649,7 @@ export function ModelSelect() {
/* Dropdown menu container */
.infio-llm-setting-combobox-dropdown {
max-height: 350px;
overflow-y: auto;
max-height: 400px;
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 3px 6px rgba(0, 0, 0, 0.08);
border-radius: 8px;
border: 1px solid var(--background-modifier-border);
@ -663,6 +658,8 @@ export function ModelSelect() {
/* 模型区域样式 */
.infio-model-section {
padding: 0;
max-height: 300px;
overflow-y: auto;
}
.infio-model-section-title {