mirror of
https://github.com/open-webui/pipelines
synced 2025-06-26 18:15:58 +00:00
Merge 2af3c15267
into adec65727e
This commit is contained in:
commit
b79ef91be2
2
main.py
2
main.py
@ -209,6 +209,8 @@ async def load_modules_from_directory(directory):
|
|||||||
}
|
}
|
||||||
valves = ValvesModel(**combined_valves)
|
valves = ValvesModel(**combined_valves)
|
||||||
pipeline.valves = valves
|
pipeline.valves = valves
|
||||||
|
if hasattr(pipeline, "on_valves_updated"):
|
||||||
|
await pipeline.on_valves_updated()
|
||||||
|
|
||||||
logging.info(f"Updated valves for module: {module_name}")
|
logging.info(f"Updated valves for module: {module_name}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user