chore(ui): rename runners to workers (#681)
parent
3f1f8bfd30
commit
177689341f
|
|
@ -13,7 +13,7 @@ import { IconSlack } from '@/components/ui/icons'
|
||||||
import { Separator } from '@/components/ui/separator'
|
import { Separator } from '@/components/ui/separator'
|
||||||
import { useHealth } from '@/lib/hooks/use-health'
|
import { useHealth } from '@/lib/hooks/use-health'
|
||||||
import { PropsWithChildren, useEffect, useState } from 'react'
|
import { PropsWithChildren, useEffect, useState } from 'react'
|
||||||
import RunnerCard from './components/runner-card'
|
import WorkerCard from './components/worker-card'
|
||||||
|
|
||||||
const COMMUNITY_DIALOG_SHOWN_KEY = 'community-dialog-shown'
|
const COMMUNITY_DIALOG_SHOWN_KEY = 'community-dialog-shown'
|
||||||
|
|
||||||
|
|
@ -96,23 +96,23 @@ function MainPanel() {
|
||||||
<Separator />
|
<Separator />
|
||||||
|
|
||||||
<div className="mt-4 rounded-lg bg-zinc-100 p-4 dark:bg-zinc-800">
|
<div className="mt-4 rounded-lg bg-zinc-100 p-4 dark:bg-zinc-800">
|
||||||
<span className="font-bold">Runners</span>
|
<span className="font-bold">Workers</span>
|
||||||
<div className="mt-4 flex flex-col gap-4 lg:flex-row lg:flex-wrap">
|
<div className="mt-4 flex flex-col gap-4 lg:flex-row lg:flex-wrap">
|
||||||
<RunnerCard
|
<WorkerCard
|
||||||
source="localhost"
|
source="localhost"
|
||||||
name={healthInfo.model}
|
name={healthInfo.model}
|
||||||
type="completion"
|
type="completion"
|
||||||
health={healthInfo}
|
health={healthInfo}
|
||||||
/>
|
/>
|
||||||
{healthInfo.chat_model && (
|
{healthInfo.chat_model && (
|
||||||
<RunnerCard
|
<WorkerCard
|
||||||
source="localhost"
|
source="localhost"
|
||||||
name={healthInfo.chat_model}
|
name={healthInfo.chat_model}
|
||||||
type="chat"
|
type="chat"
|
||||||
health={healthInfo}
|
health={healthInfo}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<RunnerCard
|
<WorkerCard
|
||||||
source="localhost"
|
source="localhost"
|
||||||
name="Code Search Index"
|
name="Code Search Index"
|
||||||
type="index"
|
type="index"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue