feat: support Xinference (#319)

### 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)
This commit is contained in:
balibabu
2024-04-11 18:17:45 +08:00
committed by GitHub
parent 4fa768e733
commit cb2cbf500c
9 changed files with 77 additions and 19 deletions

View File

@ -0,0 +1,4 @@
import { LocalLlmFactories } from './constants';
export const isLocalLlmFactory = (llmFactory: string) =>
LocalLlmFactories.some((x) => x === llmFactory);