Skip to content

A programming framework for agentic AI

fix: windows check ci failure (#5287)

Griffin Bassmanb5626262b40a
diff --git a/python/samples/core_grpc_worker_runtime/run_host.py b/python/samples/core_grpc_worker_runtime/run_host.py
index 5a1170ec0..a8dce046f 100644
--- a/python/samples/core_grpc_worker_runtime/run_host.py
+++ b/python/samples/core_grpc_worker_runtime/run_host.py
@@ -10,7 +10,7 @@ async def main() -> None:
try:
# Wait for the service to stop
- if os.system() == "Windows":
+ if os.name == "nt":
# On Windows, the signal is not available, so we wait for a new event
await asyncio.Event().wait()
else: