ComfyUI Node
Prompt Enhancer
Rewrite a draft prompt through the configured chat endpoint and return the reply with <think> reasoning blocks removed. The system prompt comes from the selected style (YAML files under <user>/default/coras_textgen/prompts/prompt_enhancer/). The model dropdown is populated from <api_base>/models. Endpoint and API key come from Settings -> Cora's Textgen.
Prompt Enhancer
- text
◄text►
◄style▾►
◄model▾►
Categorytextgen
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | Draft prompt the model should rewrite. | |
| style | COMBO | Prompt style. Edit or add YAML files under <user>/default/coras_textgen/prompts/prompt_enhancer/. Replaces the Settings system prompt for this node. | |
| model | COMBO | Models advertised by the configured endpoint. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |