fix: platforms.go struct tag missing colon + ent codegen updates
- 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:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user