mirror of
https://github.com/run-llama/workflows-py.git
synced 2026-07-20 01:04:22 -04:00
ebaf212bbe
* feat: Add resource and resource config validation to workflow validate() Adds optional resource validation to validate(): - validate_resource_configs (default True): Validates config files exist and match their Pydantic schemas - validate_resources (default False): Resolves resource factories, also catches circular dependencies via ResourceManager Key implementation: - _validate_resource_configs(): Stack-based traversal of all resources and their dependencies, validates _ResourceConfig instances - _validate_resources(): Resolves resources via ResourceManager.get() - validate() now runs even with disable_validation=True when called explicitly - Python 3.9 compat: restore event loop after asyncio.run() * Create smooth-donkeys-run.md * Update test_resources.py Kill off a silly extra test --------- Co-authored-by: Claude <noreply@anthropic.com>