### What problem does this PR solve? support xorbitsai inference as model provider Issue link:#299 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
5 lines
158 B
TypeScript
5 lines
158 B
TypeScript
import { LocalLlmFactories } from './constants';
|
|
|
|
export const isLocalLlmFactory = (llmFactory: string) =>
|
|
LocalLlmFactories.some((x) => x === llmFactory);
|