If a Flowise chain appears to select the right CometAPI model but sends the wrong question, start with the two inputs to the chain—not temperature. The ChatCometAPI connection selects the model; the Prompt Template connection supplies what it is asked. A correct model selection is not proof that the prompt variables were mapped correctly.
CometAPI’s Flowise integration guide documents those connections separately. Here is a small way to reason through that recipe before adding retrieval, tools, or model comparisons.
Establish the CometAPI side first
You need access to a Flowise chatflow, an available ChatCometAPI node, and a CometAPI account with an API key. In the guide’s setup:
- Attach the CometAPI credential to ChatCometAPI, keeping the key in Flowise Credentials rather than the prompt or node code.
- Select the intended model on that node.
- Under Additional Parameters, set Base Path to
https://api.cometapi.com/v1/.
These are instructions from the guide, not a report of a tested installation. The article was published in September 2025 and retrieved on September 9, 2026; check the controls and available model choices in your installed version rather than assuming every label is unchanged.
Trace both inputs, not just the left-to-right line
The guide’s explicit wiring is:
ChatCometAPI ----------------------> LLM Chain: Language Model
Start/Input -> Prompt Template ----> LLM Chain: Prompt
LLM Chain -> Output
The Start/Input value fills the template’s user_input variable. The chain combines that value with the template and sends the resulting prompt to CometAPI.
This is the useful distinction when debugging: changing a model setting on ChatCometAPI does not repair a missing connection to the chain’s Prompt input. Inspect the two branches independently.
Try a two-marker prompt check
The following is a proposed learning exercise, not a completed test or a guaranteed output:
- Keep the CometAPI model and generation settings fixed.
- Create a short template that asks the model to repeat the supplied
user_inputvalue. Use the variable syntax accepted by your installed Prompt Template node; do not assume the guide’s double-brace example works unchanged in every version. - Supply a harmless marker such as
orchid-17through the flow’s input. - Run the flow and inspect the resolved prompt intended for CometAPI using the inspection tools available in your version. The guide recommends inspecting the sent prompt during a dry run. Keep secrets and sensitive inputs out of diagnostic traces.
- Change only the input to
cobalt-42and inspect again.
Before judging the model’s answer, check whether the resolved prompt changed to contain the second marker. If it still contains the first marker, lacks the supplied value, or contains an unresolved variable placeholder, revisit the input mapping and template syntax. If the resolved prompt is correct but the answer is not, that observation does not establish a wiring fault; then investigate instructions and model behavior separately.
The point is to establish what this Flowise chain is asking CometAPI before tuning how the selected model answers. Which branch would you inspect first in your flow: the ChatCometAPI configuration or the resolved Prompt input?