Skip to content

feat: add ChatInception chat model node#6506

Open
yanismiraoui wants to merge 2 commits into
FlowiseAI:mainfrom
yanismiraoui:feat/inception-chat-model
Open

feat: add ChatInception chat model node#6506
yanismiraoui wants to merge 2 commits into
FlowiseAI:mainfrom
yanismiraoui:feat/inception-chat-model

Conversation

@yanismiraoui

Copy link
Copy Markdown

Add an Inception chat model integration wrapping the Mercury diffusion LLMs via their OpenAI-compatible API.

  • New ChatInception node (chatmodels) wrapping ChatOpenAI against https://api.inceptionlabs.ai/v1, with a Reasoning Effort option (instant/low/medium/high) passed through modelKwargs.
  • New inceptionApi credential for the API key.
  • Register mercury-2 in models.json with per-1K-token pricing.
  • Inception node icon.

Add an Inception Labs chat model integration wrapping the Mercury
diffusion LLMs via their OpenAI-compatible API.

- New ChatInception node (chatmodels) wrapping ChatOpenAI against
  https://api.inceptionlabs.ai/v1, with a Reasoning Effort option
  (instant/low/medium/high) passed through modelKwargs.
- New inceptionApi credential for the API key.
- Register mercury-2 in models.json with per-1K-token pricing.
- Inception node icon.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for the Inception API by adding the InceptionApi credential, registering the chatInception model configuration with the mercury-2 model, and implementing the ChatInception chat model node wrapping ChatOpenAI. Feedback focuses on improving robustness: specifically, handling potential NaN values when parsing the temperature input, and utilizing the parseJsonBody utility helper instead of standard JSON.parse to safely parse baseOptions and handle minor formatting issues.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread packages/components/nodes/chatmodels/ChatInception/ChatInception.ts
Comment thread packages/components/nodes/chatmodels/ChatInception/ChatInception.ts Outdated
Comment thread packages/components/nodes/chatmodels/ChatInception/ChatInception.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant