mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 23:41:12 +08:00
Fix: model list (#15905)
### What problem does this PR solve? Set OpenDataLoader and call in parser and naive ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -669,7 +669,7 @@ export const ProviderConfigMap: Record<string, ProviderConfig> = {
|
||||
modelInfo: [
|
||||
{
|
||||
model_name: values.model_name,
|
||||
model_type: 'ocr',
|
||||
model_type: ['ocr'],
|
||||
max_tokens: 0,
|
||||
},
|
||||
],
|
||||
@@ -692,7 +692,7 @@ export const ProviderConfigMap: Record<string, ProviderConfig> = {
|
||||
model_info: [
|
||||
{
|
||||
model_name: values.model_name,
|
||||
model_type: 'ocr',
|
||||
model_type: ['ocr'],
|
||||
max_tokens: 0,
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user