Expand description
DTOs for /api/v1/settings/* per routers/settings.md §4.
Structs§
- Config
Choice - LLMConfig
InputDTO - LLMConfig
OutputDTO - SettingsDTO
- Settings
PayloadDTO - VectorDB
Config InputDTO - VectorDB
Config OutputDTO
Enums§
- LlmProvider
- Provider enum for
LLMConfigInputDTO::provider. Note thatbedrockis not in this list — Python’s GET advertises it but the saveLiteralrejects it (routers/settings.md §6.4). - Vector
DbProvider
Functions§
- redact_
api_ key - Mirrors Python’s
(key[0:10] + "*" * (len(key) - 10)) if key else None. - should_
persist_ api_ key - Mirrors Python’s
'*****' not in key and len(key.strip()) > 0guard.