mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-12 20:03:40 +08:00
## What problem does this PR solve? `TenantLLMService.model_instance` constructs vision providers with `lang` as the third positional argument and `base_url` as a keyword argument. `LocalAICV` declared `base_url` as its third parameter, causing: ```text TypeError: LocalAICV.__init__() got multiple values for argument 'base_url' ``` This prevents LocalAI vision models from being used during document parsing. Co-authored-by: Jin Hai <haijin.chn@gmail.com>