Backend • Removed the exported function `ValidateApiInfo` from `setting/console_setting/validation.go`; it was only a legacy wrapper and is no longer required. • Updated `controller/option.go` to call `ValidateConsoleSettings(value, "ApiInfo")` directly when validating `console_setting.api_info`. • Confirmed there are no remaining references to `ValidateApiInfo` in the codebase. This commit eliminates the last piece of compatibility code related to the old validation interface, keeping the API surface clean and consistent.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| config | Loading commit data... | |
| console_setting | Loading commit data... | |
| model_setting | Loading commit data... | |
| operation_setting | Loading commit data... | |
| system_setting | Loading commit data... | |
| chat.go | Loading commit data... | |
| group_ratio.go | Loading commit data... | |
| midjourney.go | Loading commit data... | |
| payment.go | Loading commit data... | |
| rate_limit.go | Loading commit data... | |
| sensitive.go | Loading commit data... | |
| system_setting.go | Loading commit data... | |
| user_usable_group.go | Loading commit data... |