Server configuration
| 25 | |
| 26 | |
| 27 | class ServerConfig(BaseModel): |
| 28 | """Server configuration""" |
| 29 | |
| 30 | host: str = Field(default="0.0.0.0", description="Server host address") |
| 31 | port: int = Field(default=8000, ge=1, le=65535, description="Server port number") |
| 32 | api_key: str | None = Field( |
| 33 | default=None, |
| 34 | description="API key for authentication, if set, will enable API key validation", |
| 35 | ) |
| 36 | https: HTTPSConfig = Field(default=HTTPSConfig(), description="HTTPS configuration") |
| 37 | |
| 38 | |
| 39 | class GeminiClientSettings(BaseModel): |