settings
Save Settings
Save or update system settings.
This endpoint allows updating the system configuration settings. You can update either the LLM configuration, vector database configuration, or both. Only provided settings will be updated; others remain unchanged.
Request Parameters
- llm (Optional[LLMConfigInputDTO]): LLM configuration (provider, model, API key)
- vector_db (Optional[VectorDBConfigInputDTO]): Vector database configuration (provider, URL, API key)
Response
No content returned on successful save.
Error Codes
- 400 Bad Request: Invalid settings provided
- 500 Internal Server Error: Error saving settings
POST
Save Settings
Save Settings