Validate all configuration fields. Subscription-mode providers (claude-code, codex) authenticate via the underlying CLI's OAuth and do not require a base URL or fallback model. Raises: ConfigurationError: If validation fails
(self)
| 139 | main_model: str |
| 140 | cluster_model: str |
| 141 | fallback_model: str = "glm-4p5" |
| 142 | default_output: str = "docs" |
| 143 | provider: str = "openai-compatible" |
| 144 | aws_region: str = "us-east-1" |
| 145 | api_version: str = "2024-12-01-preview" |
| 146 | azure_deployment: str = "" |
| 147 | max_tokens: int = 32768 |
| 148 | max_token_per_module: int = 36369 |
| 149 | max_token_per_leaf_module: int = 16000 |
| 150 | max_depth: int = 2 |
| 151 | use_gitignore: bool = True |
| 152 | prompt_caching: bool = True |
| 153 | agent_instructions: AgentInstructions = field(default_factory=AgentInstructions) |
| 154 | |
| 155 | def validate(self): |
| 156 | """ |
| 157 | Validate all configuration fields. |
| 158 | |
| 159 | Subscription-mode providers (claude-code, codex) authenticate via the |
| 160 | underlying CLI's OAuth and do not require a base URL or fallback model. |
| 161 |
no test coverage detected