Update Llm Configuration
LLM Configurations
Update Llm Configuration
Update an LLM configuration by ID.
This endpoint:
- Requires API key or session authentication
- Validates that the new secret_id (if provided) belongs to the user’s space
- Updates only the provided fields
Args: service: Injected LLM configuration service config_id: The ID of the LLM configuration to update payload: Request containing fields to update
Returns: Response with the updated LLM configuration
Raises: 400 Bad Request: If user doesn’t have an associated space or secret is invalid 404 Not Found: If the configuration doesn’t exist
PATCH
Update Llm Configuration
Authorizations
Path Parameters
Cookies
Body
application/json
Request schema for updating an LLM configuration
The LLM API endpoint URL
Minimum string length:
1Display name for the configuration
Required string length:
1 - 255The model name to use
Required string length:
1 - 255ID of the secret containing the API key
Required string length:
1 - 36