fix: platforms.go struct tag missing colon + ent codegen updates
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled

- Fix mapstructure tag syntax in PlatformConfig: missing colon
  in 'mapstructure=recent_task_limit_max' caused go vet error and
  prevented viper from parsing RecentTaskLimitMax at runtime
- Include ent group_create.go/group_update.go codegen changes
This commit is contained in:
User
2026-04-18 13:09:21 +08:00
parent 34df249ada
commit 820b7099ab
3 changed files with 1 additions and 140 deletions

View File

@@ -15,7 +15,7 @@ type SoraClientConfig struct {
PollIntervalSeconds int `mapstructure:"poll_interval_seconds"`
MaxPollAttempts int `mapstructure:"max_poll_attempts"`
RecentTaskLimit int `mapstructure:"recent_task_limit"`
RecentTaskLimitMax int `mapstructure="recent_task_limit_max"`
RecentTaskLimitMax int `mapstructure:"recent_task_limit_max"`
Debug bool `mapstructure:"debug"`
UseOpenAITokenProvider bool `mapstructure:"use_openai_token_provider"`
Headers map[string]string `mapstructure:"headers"`