feat: advanced prompt backend (#1301)

Co-authored-by: takatost <takatost@gmail.com>
This commit is contained in:
Garfield Dai 2023-10-12 23:13:10 +08:00 • committed by GitHub
commit 42a5b3ec17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
61 changed files with 767 additions and 581 deletions

View file

@ -482,6 +482,9 @@ class ProviderService:
'features': []
}
if 'mode' in model:
valid_model_dict['model_mode'] = model['mode']
if 'features' in model:
valid_model_dict['features'] = model['features']