Elffuss BraidHub

kikocis/continue public

main · 412 BRawPermalink
1import { ILLM } from "core";
2
3export const FAST_APPLY_MODELS: Array<ILLM["model"]> = ["Fast-Apply"];
4
5/**
6 * Checks against model names, which can include proxy prefixes
7 * such as `continuedev/hub`
8 * @param llm
9 * @returns
10 */
11export function isFastApplyModel(llm: ILLM): boolean {
12 return FAST_APPLY_MODELS?.some((fastApplyModel) =>
13 llm.model.toLowerCase().includes(fastApplyModel.toLowerCase()),
14 );
15}