mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-22 14:16:42 +08:00
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:
4
web/src/pages/user-setting/utils.ts
Normal file
4
web/src/pages/user-setting/utils.ts
Normal file
@ -0,0 +1,4 @@
|
||||
import { LocalLlmFactories } from './constants';
|
||||
|
||||
export const isLocalLlmFactory = (llmFactory: string) =>
|
||||
LocalLlmFactories.some((x) => x === llmFactory);
|
||||
Reference in New Issue
Block a user