Model for the entire model configuration
| 135 | supportsCustomModel: Optional[bool] = Field(False, description="Whether this provider supports custom models") |
| 136 | |
| 137 | class ModelConfig(BaseModel): |
| 138 | """ |
| 139 | Model for the entire model configuration |
| 140 | """ |
| 141 | providers: List[Provider] = Field(..., description="List of available model providers") |
| 142 | defaultProvider: str = Field(..., description="ID of the default provider") |
| 143 | |
| 144 | class AuthorizationConfig(BaseModel): |
| 145 | code: str = Field(..., description="Authorization code") |