Update README and fix ChatNode input

This commit is contained in:
Kangle
2026-01-02 16:10:43 +00:00
parent 69fb59a271
commit 2a74e194e9
3 changed files with 6 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

+5
View File
@@ -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`
+1
View File
@@ -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"