Python: [BREAKING] update to v1.0.0 (#5062)

* updates to final deprecated pieces and versions

* fix mypy

* fix readme links
This commit is contained in:
Eduard van Valkenburg
2026-04-02 15:26:30 +00:00
committed by GitHub
parent 5f06b68535
commit 3446eb8d5d
171 changed files with 2580 additions and 2392 deletions
@@ -22,7 +22,13 @@ async def main():
"""Create an agent from a declarative yaml specification and run it."""
# get the path
current_path = Path(__file__).parent
yaml_path = current_path.parent.parent.parent.parent / "declarative-agents" / "agent-samples" / "chatclient" / "GetWeather.yaml"
yaml_path = (
current_path.parent.parent.parent.parent
/ "declarative-agents"
/ "agent-samples"
/ "chatclient"
/ "GetWeather.yaml"
)
# load the yaml from the path
with yaml_path.open("r") as f:
yaml_str = f.read()