mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-01-18 17:22:52 +00:00
update model star
This commit is contained in:
parent
2ce1e11c05
commit
0178a9b024
@ -419,9 +419,6 @@ export function ModelSelect() {
|
|||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<div className="infio-loading">loading...</div>
|
<div className="infio-loading">loading...</div>
|
||||||
) : (
|
) : (
|
||||||
<>
|
|
||||||
|
|
||||||
{/* 所有模型区域 */}
|
|
||||||
<div className="infio-model-section">
|
<div className="infio-model-section">
|
||||||
<ul>
|
<ul>
|
||||||
{filteredOptions.map((option, index) => {
|
{filteredOptions.map((option, index) => {
|
||||||
@ -476,7 +473,6 @@ export function ModelSelect() {
|
|||||||
})}
|
})}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
</DropdownMenu.Content>
|
</DropdownMenu.Content>
|
||||||
</DropdownMenu.Portal>
|
</DropdownMenu.Portal>
|
||||||
@ -580,7 +576,7 @@ export function ModelSelect() {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
width: 30%;
|
width: 45%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Provider selector */
|
/* Provider selector */
|
||||||
@ -623,7 +619,7 @@ export function ModelSelect() {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
width: 70%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Search input */
|
/* Search input */
|
||||||
@ -653,8 +649,7 @@ export function ModelSelect() {
|
|||||||
|
|
||||||
/* Dropdown menu container */
|
/* Dropdown menu container */
|
||||||
.infio-llm-setting-combobox-dropdown {
|
.infio-llm-setting-combobox-dropdown {
|
||||||
max-height: 350px;
|
max-height: 400px;
|
||||||
overflow-y: auto;
|
|
||||||
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 3px 6px rgba(0, 0, 0, 0.08);
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 3px 6px rgba(0, 0, 0, 0.08);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
border: 1px solid var(--background-modifier-border);
|
border: 1px solid var(--background-modifier-border);
|
||||||
@ -663,6 +658,8 @@ export function ModelSelect() {
|
|||||||
/* 模型区域样式 */
|
/* 模型区域样式 */
|
||||||
.infio-model-section {
|
.infio-model-section {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
max-height: 300px;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.infio-model-section-title {
|
.infio-model-section-title {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user