diff --git a/Example workflow.png b/Example workflow.png new file mode 100644 index 0000000..d0d2f07 Binary files /dev/null and b/Example workflow.png differ diff --git a/README.md b/README.md index 28eabc3..f661921 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,11 @@ Notes: Example graph: `LLM Config` drives `Chat (Ollama)` via `llm_config`, and outputs route to a `text` node plus `Chat History Viewer` for full history review. +## Example Workflow +![Example ComfyUI workflow](Example%20workflow.png) + +Drag this image into ComfyUI to load and run the workflow. + ## API Frontend calls POST `/chat_optimize/chat` and receives: - `assistant_response` diff --git a/chat_optimize_nodes.py b/chat_optimize_nodes.py index ca4c58a..3d95375 100644 --- a/chat_optimize_nodes.py +++ b/chat_optimize_nodes.py @@ -160,6 +160,7 @@ class ChatNode: session_id: str = "default", system_prompt: str = "", refresh_session: bool = False, + auto_clear_input: bool = True, llm_config: Optional[Dict] = None, ): provider = "ollama"