mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
feat - add slack webhooks
This commit is contained in:
parent
8bb80ca6ea
commit
80694ba79b
1 changed files with 6 additions and 4 deletions
|
@ -8001,10 +8001,12 @@ async def update_config(config_info: ConfigYAML):
|
|||
_updated_environment_variables[k] = base64.b64encode(
|
||||
encrypted_value
|
||||
).decode("utf-8")
|
||||
config["environment_variables"] = {
|
||||
**_updated_environment_variables,
|
||||
**config["environment_variables"],
|
||||
}
|
||||
|
||||
_existing_env_variables = config["environment_variables"]
|
||||
|
||||
for k, v in _updated_environment_variables.items():
|
||||
# overwrite existing env variables with updated values
|
||||
_existing_env_variables[k] = _updated_environment_variables[k]
|
||||
|
||||
# update the litellm settings
|
||||
if config_info.litellm_settings is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue