perf: PublicSetting API 添加GPT参数

pull/12287/head
feng 2023-12-08 17:46:40 +08:00
parent 47cb6b1ec0
commit 8b05260a6c
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ class PrivateSettingSerializer(PublicSettingSerializer):
CACHE_LOGIN_PASSWORD_ENABLED = serializers.BooleanField()
VAULT_ENABLED = serializers.BooleanField()
VIRTUAL_APP_ENABLED = serializers.BooleanField()
CHAT_AI_ENABLED = serializers.BooleanField()
GPT_MODEL = serializers.CharField()
class ServerInfoSerializer(serializers.Serializer):