feat(llm): mask API keys in UI responses and prevent masked-key leakage in fetch/test/save payloads
- Add mask_api_key() and is_masked_or_placeholder() to llm_provider service - Return masked keys in all provider CRUD endpoints - Reject masked/placeholder keys in fetch_models and test_provider_config - Show masked key with Change button in ProviderConfig.svelte edit form - Exclude masked keys from fetch-models, test, and submit payloads on frontend - Update semantics-core skill with clarified complexity tier rules - Switch agent modes from subagent to all
This commit is contained in:
54
docs/openapi/litellm/chunks_paths/paths_callbacks.json
Normal file
54
docs/openapi/litellm/chunks_paths/paths_callbacks.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"/callbacks/configs": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Logging Callbacks"
|
||||
],
|
||||
"summary": "Get Callback Configs",
|
||||
"description": "Get Available Callback Configurations\n\nReturns the configuration details for all available logging callbacks,\nincluding supported parameters, field types, and descriptions.",
|
||||
"operationId": "get_callback_configs_callbacks_configs_get",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successful Response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"APIKeyHeader": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/callbacks/list": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Logging Callbacks"
|
||||
],
|
||||
"summary": "List Callbacks",
|
||||
"description": "View List of Active Logging Callbacks",
|
||||
"operationId": "list_callbacks_callbacks_list_get",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successful Response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/CallbacksByType"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"APIKeyHeader": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user