ComfyUI Node
Claude Conversation
Multi-turn conversation with Claude, preserving message history across executions.
Claude Conversation
- client
- conversation_history
- response
- conversation_history
◄prompt►
◄seed-1►
◄system_prompt►
◄auto_trimtrue►
◄reset_conversationfalse►
◄temperature0.70►
◄max_tokens2048►
CategoryERPK/Claude
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | Your message in the conversation | |
| seed | INT | -1-1–2147483647 | Seed for cache control. Randomizes by default to ensure fresh results each run. |
| clientopt | CLAUDE_API_CLIENT | Claude API client (optional if API key is configured in Settings) | |
| conversation_historyopt | CLAUDE_CONVERSATION | Previous conversation state (connect from previous conversation node) | |
| system_promptopt | STRING | Optional system prompt (only used for new conversations) | |
| auto_trimopt | BOOLEAN | true | Automatically trim old messages to fit context window |
| reset_conversationopt | BOOLEAN | false | Start a new conversation, discarding history |
| temperatureopt | FLOAT | 0.700–1 | Creativity level |
| max_tokensopt | INT | 2048256–4096 | Maximum length of response |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| response | STRING | — |
| conversation_history | CLAUDE_CONVERSATION | — |