Skip to content

Commit 380feb0

Browse files
authored
Add support for non-KiloClaw OpenClaw to auto model selection, remove unused kilo/auto-small (#1726)
1 parent fd7b45f commit 380feb0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/kilo-auto-model.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ export const KILO_AUTO_FREE_MODEL_DEPRECATED = 'kilo/auto-free';
218218
const legacyMapping: Record<string, AutoModel | undefined> = {
219219
'kilo/auto': KILO_AUTO_FRONTIER_MODEL,
220220
[KILO_AUTO_FREE_MODEL_DEPRECATED]: KILO_AUTO_FREE_MODEL,
221-
'kilo/auto-small': KILO_AUTO_SMALL_MODEL,
222221
};
223222

224223
export async function resolveAutoModel(
@@ -263,7 +262,7 @@ export async function applyResolvedAutoModel(
263262
const hasImages = requestContainsImages(request);
264263
const resolved = await resolveAutoModel(
265264
model,
266-
featureHeader === 'kiloclaw' ? 'KiloClaw' : modeHeader,
265+
featureHeader === 'kiloclaw' || featureHeader === 'openclaw' ? 'KiloClaw' : modeHeader,
267266
balancePromise,
268267
hasImages
269268
);

0 commit comments

Comments
 (0)