forked from nexu-io/open-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkilo.ts
More file actions
21 lines (20 loc) · 629 Bytes
/
Copy pathkilo.ts
File metadata and controls
21 lines (20 loc) · 629 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { detectAcpModels, DEFAULT_MODEL_OPTION } from './shared.js';
import type { RuntimeAgentDef } from '../types.js';
export const kiloAgentDef = {
id: 'kilo',
name: 'Kilo',
bin: 'kilo',
versionArgs: ['--version'],
fetchModels: async (resolvedBin, env) =>
detectAcpModels({
bin: resolvedBin,
args: ['acp'],
env,
timeoutMs: 15_000,
defaultModelOption: DEFAULT_MODEL_OPTION,
}),
fallbackModels: [DEFAULT_MODEL_OPTION],
buildArgs: () => ['acp'],
streamFormat: 'acp-json-rpc',
externalMcpInjection: 'acp-merge',
} satisfies RuntimeAgentDef;