Skip to content

Commit

Permalink
🎨 Apps in Chinese mainland app stores no longer provide AI access set…
Browse files Browse the repository at this point in the history
…tings #13051
  • Loading branch information
88250 committed Nov 11, 2024
1 parent 7b9163d commit 7e3e1d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kernel/model/conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,6 @@ func InitConf() {
util.UseSingleLineSave = Conf.FileTree.UseSingleLineSave

util.CurrentCloudRegion = Conf.CloudRegion
Conf.System.DisabledFeatures = util.DisabledFeatures
if 1 > len(Conf.System.DisabledFeatures) {
Conf.System.DisabledFeatures = []string{}
}

if nil == Conf.Tag {
Conf.Tag = conf.NewTag()
Expand Down Expand Up @@ -311,6 +307,10 @@ func InitConf() {
Conf.System.ID = util.GetDeviceID()
Conf.System.Name = util.GetDeviceName()
}
Conf.System.DisabledFeatures = util.DisabledFeatures
if 1 > len(Conf.System.DisabledFeatures) {
Conf.System.DisabledFeatures = []string{}
}

if nil == Conf.Snippet {
Conf.Snippet = conf.NewSnpt()
Expand Down

0 comments on commit 7e3e1d0

Please sign in to comment.