experiment with sse

This commit is contained in:
zachary62
2025-04-11 12:05:14 -04:00
parent 407cbdc49c
commit 9de04109d8
11 changed files with 618 additions and 0 deletions
@@ -0,0 +1,16 @@
import time
def process_task(input_data):
"""Minimal simulation of processing the input data."""
print(f"Processing: '{input_data[:50]}...'")
# Simulate work
time.sleep(2)
processed_result = f"Processed: {input_data}"
print(f"Finished processing.")
return processed_result
# We don't need a separate utils/call_llm.py for this minimal example,
# but you would add it here if ProcessNode used an LLM.