Python: Bump Py version to 1.0.0b251218 for a release. Update CHANGELOG (#2968)

* Bump Py version to 1.0.0b251218 for a release. Update CHANGELOG

* update lock

* Fix formatting

* Fix ChatKit typing
This commit is contained in:
Evan Mattson
2025-12-19 10:31:57 +09:00
committed by GitHub
Unverified
parent 19a9e13788
commit e15eab7da6
22 changed files with 103 additions and 69 deletions
@@ -871,8 +871,10 @@ class HandoffBuilder:
HandoffBuilder(participants=[coordinator, refund, shipping])
.set_coordinator(coordinator)
.with_termination_condition(
lambda conv: sum(1 for msg in conv if msg.role.value == "user") >= 5
or any("goodbye" in msg.text.lower() for msg in conv[-2:])
lambda conv: (
sum(1 for msg in conv if msg.role.value == "user") >= 5
or any("goodbye" in msg.text.lower() for msg in conv[-2:])
)
)
.build()
)
+1 -1
View File
@@ -4,7 +4,7 @@ description = "Microsoft Agent Framework for building AI Agents with Python. Thi
authors = [{ name = "Microsoft", email = "af-support@microsoft.com"}]
readme = "README.md"
requires-python = ">=3.10"
version = "1.0.0b251216"
version = "1.0.0b251218"
license-files = ["LICENSE"]
urls.homepage = "https://aka.ms/agent-framework"
urls.source = "https://github.com/microsoft/agent-framework/tree/main/python"
@@ -245,7 +245,8 @@ def test_register_multiple_executors():
# Build workflow with edges using registered names
workflow = (
builder.set_start_executor("ExecutorA")
builder
.set_start_executor("ExecutorA")
.add_edge("ExecutorA", "ExecutorB")
.add_edge("ExecutorB", "ExecutorC")
.build()
@@ -426,7 +427,8 @@ def test_register_with_fan_in_edges():
# Add fan-in edges using registered names
# Both Source1 and Source2 need to be reachable, so connect Source1 to Source2
workflow = (
builder.set_start_executor("Source1")
builder
.set_start_executor("Source1")
.add_edge("Source1", "Source2")
.add_fan_in_edges(["Source1", "Source2"], "Aggregator")
.build()