mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-09-08 10:14:35 +08:00
Feat: tenant llm provider (#14595)
### What problem does this PR solve? Python implementation of the Go-based model_provider API suite. ### Type of change - [x] New Feature (non-breaking change which adds functionality) --------- Co-authored-by: bill <yibie_jingnian@163.com>
This commit is contained in:
@@ -149,6 +149,8 @@ async def create(tenant_id: str = None):
|
||||
return get_result(data=result)
|
||||
else:
|
||||
return get_error_data_result(message=result)
|
||||
except LookupError as e:
|
||||
return get_error_argument_result(str(e))
|
||||
except ValueError as e:
|
||||
return get_error_argument_result(str(e))
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user