Skip to content

Commit 4f22974

Browse files
authored
Merge pull request #111 from odefun/feat/fix-kilo-models-ui-x100b56a
fix: map model list to Kilo instead of Kiro in agent settings
2 parents c93c587 + 684a172 commit 4f22974

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ode",
3-
"version": "0.0.74",
3+
"version": "0.0.75",
44
"description": "Coding anywhere with your coding agents connected",
55
"module": "packages/core/index.ts",
66
"type": "module",

packages/web-ui/src/routes/(settings)/agents/+page.svelte

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { Badge, Button, Card } from "$lib/components/ui";
55
import { localSettingStore } from "$lib/local-setting/store";
66
7-
type AgentWithModels = "opencode" | "codex" | "kiro";
7+
type AgentWithModels = "opencode" | "codex" | "kilo";
88
99
function getAgentModels(agent: AgentWithModels): string[] {
1010
const agents = $localSettingStore.config.agents as Record<string, { models?: string[] }>;
@@ -73,35 +73,35 @@
7373
{/if}
7474
</div>
7575

76+
<div class="flex flex-wrap items-center gap-2 rounded-lg border p-3">
77+
<strong class="text-sm">Kiro CLI</strong>
78+
{#if $localSettingStore.cliCheckResult}
79+
<Badge variant={$localSettingStore.cliCheckResult.kiro ? "secondary" : "destructive"}>
80+
{$localSettingStore.cliCheckResult.kiro ? "Installed" : "Not found"}
81+
</Badge>
82+
{/if}
83+
</div>
84+
7685
<div class="rounded-lg border p-3">
7786
<div class="mb-2 flex flex-wrap items-center gap-2">
78-
<strong class="text-sm">Kiro CLI</strong>
87+
<strong class="text-sm">Kilo CLI</strong>
7988
{#if $localSettingStore.cliCheckResult}
80-
<Badge variant={$localSettingStore.cliCheckResult.kiro ? "secondary" : "destructive"}>
81-
{$localSettingStore.cliCheckResult.kiro ? "Installed" : "Not found"}
89+
<Badge variant={$localSettingStore.cliCheckResult.kilo ? "secondary" : "destructive"}>
90+
{$localSettingStore.cliCheckResult.kilo ? "Installed" : "Not found"}
8291
</Badge>
8392
{/if}
8493
</div>
8594
<div class="flex flex-wrap gap-1">
86-
{#if getAgentModels("kiro").length === 0}
95+
{#if getAgentModels("kilo").length === 0}
8796
<Badge variant="outline">No models configured</Badge>
8897
{:else}
89-
{#each getAgentModels("kiro") as model}
98+
{#each getAgentModels("kilo") as model}
9099
<Badge variant="outline">{model}</Badge>
91100
{/each}
92101
{/if}
93102
</div>
94103
</div>
95104

96-
<div class="flex flex-wrap items-center gap-2 rounded-lg border p-3">
97-
<strong class="text-sm">Kilo CLI</strong>
98-
{#if $localSettingStore.cliCheckResult}
99-
<Badge variant={$localSettingStore.cliCheckResult.kilo ? "secondary" : "destructive"}>
100-
{$localSettingStore.cliCheckResult.kilo ? "Installed" : "Not found"}
101-
</Badge>
102-
{/if}
103-
</div>
104-
105105
<div class="flex flex-wrap items-center gap-2 rounded-lg border p-3">
106106
<strong class="text-sm">Qwen CLI</strong>
107107
{#if $localSettingStore.cliCheckResult}

0 commit comments

Comments
 (0)