Skip to content

Websockets integration and hitl#5

Open
harshitbansal184507 wants to merge 11 commits intoharshitbansal-tunkai:mainfrom
harshitbansal184507:main
Open

Websockets integration and hitl#5
harshitbansal184507 wants to merge 11 commits intoharshitbansal-tunkai:mainfrom
harshitbansal184507:main

Conversation

@harshitbansal184507
Copy link
Copy Markdown
Contributor

No description provided.

Cleaned up the CORS middleware configuration by removing an inline comment. No functional changes were made.
Added a 'data' field to the Edge model in main.py to support additional edge metadata. Improved workflow_compiler.py by adding docstrings, simplifying logging, supporting conditional edge evaluation with LLM, and refactoring node and router creation for clarity and maintainability. Also added several workflow PNG snapshots to saved_workflows for reference.
Introduce a complete workflow engine and UI: new backend modules (backend/ai_helpers.py, compiler.py, executor.py, server.py, state.py) and a simple client (client.html). ai_helpers contains LLM helpers for running prompts, history compression, variable extraction, routing, end-signal detection and validation. compiler builds LangGraph graphs from JSON workflows (supports interrupt_before for interactive nodes, conditional routing, extraction and HITL). executor streams execution, reliably detects pauses/resumes, persists pause metadata (PauseStore) and exposes a WorkflowExecutor API. server provides a FastAPI WebSocket/REST interface to compile, execute and resume workflows. Removed legacy scripts and saved workflow images.
Introduce a complete workflow engine and UI: new backend modules (backend/ai_helpers.py, compiler.py, executor.py, server.py, state.py) and a simple client (client.html). ai_helpers contains LLM helpers for running prompts, history compression, variable extraction, routing, end-signal detection and validation. compiler builds LangGraph graphs from JSON workflows (supports interrupt_before for interactive nodes, conditional routing, extraction and HITL). executor streams execution, reliably detects pauses/resumes, persists pause metadata (PauseStore) and exposes a WorkflowExecutor API. server provides a FastAPI WebSocket/REST interface to compile, execute and resume workflows. Removed legacy scripts and saved workflow images.
Removed unnecessary lines from the README.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant