refactor: Remove 'enabled' field from AgentConfig and related components

- Removed the 'enabled' field from the AgentConfig interface and its usage in AgentSettings and tenant handler.
- Updated related validation logic to ensure consistency without the 'enabled' parameter.
- Streamlined agent configuration handling for improved clarity and maintainability.
This commit is contained in:
wizardchen
2025-11-21 14:28:43 +08:00
parent 521ba9259e
commit 6687e81b96
4 changed files with 7 additions and 19 deletions
-1
View File
@@ -24,7 +24,6 @@ export interface PlaceholderDefinition {
}
export interface AgentConfig {
enabled: boolean
max_iterations: number
reflection_enabled: boolean
allowed_tools: string[]