feat: Implement theme management and UI enhancements across the application
- Added theme initialization and management in the UI store. - Enhanced dark mode styles for various components, including tables, dialogs, and inputs. - Updated multiple components to use CSS variables for consistent theming. - Introduced a new simplified API for updating knowledge base configurations. - Improved overall UI consistency and responsiveness with new styles.
This commit is contained in:
@@ -334,7 +334,7 @@ func (h *TenantHandler) UpdateTenantAgentConfig(c *gin.Context) {
|
||||
|
||||
// Validate configuration
|
||||
if req.Enabled {
|
||||
if req.MaxIterations <= 0 || req.MaxIterations > 20 {
|
||||
if req.MaxIterations <= 0 || req.MaxIterations > 30 {
|
||||
c.Error(errors.NewAgentInvalidMaxIterationsError())
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user