Skip to content

fix: prefix node keys to resolve naming conflict#6

Merged
Limbicnation merged 1 commit intomainfrom
fix/node-naming-conflict
Mar 9, 2026
Merged

fix: prefix node keys to resolve naming conflict#6
Limbicnation merged 1 commit intomainfrom
fix/node-naming-conflict

Conversation

@Limbicnation
Copy link
Copy Markdown
Owner

Summary

  • Prefixed NODE_CLASS_MAPPINGS keys with Limbicnation_ to resolve conflict with 3 other packages (comfyui-adaptiveprompts, ComfyUI-Prompt-Manager, ComfyUI-RndNanthu)
  • Bumped version to 1.2.0
  • No deprecated aliases — clean break while the node is young

Test plan

  • Restart ComfyUI and confirm nodes appear under text/generation
  • Verify display names show "Prompt Generator (Qwen)" and "Style Applier"
  • Confirm no conflict warning in ComfyUI Manager
  • Test prompt generation end-to-end

NODE_CLASS_MAPPINGS keys PromptGenerator and StyleApplier conflicted
with 3 other packages. Prefixed with Limbicnation_ to match PublisherId.
Bumped version to 1.2.0.
@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses potential naming conflicts within the ComfyUI ecosystem by introducing a unique prefix to the node keys, ensuring better compatibility and preventing issues when integrating with other custom nodes. Additionally, the project version has been updated to reflect these significant changes, providing a clear indication of the update.

Highlights

  • Naming Conflict Resolution: Prefixed NODE_CLASS_MAPPINGS keys with Limbicnation_ to prevent conflicts with other ComfyUI packages.
  • Version Update: The project version has been bumped from 1.1.7 to 1.2.0 across relevant configuration and documentation files.
  • Clean Break: No deprecated aliases were included, ensuring a clean update for the nodes without backward compatibility layers.
Changelog
  • CLAUDE.md
    • Updated the current version number to 1.2.0.
  • init.py
    • Prefixed NODE_CLASS_MAPPINGS keys with Limbicnation_.
    • Adjusted NODE_DISPLAY_NAME_MAPPINGS to reflect the new prefixed keys.
  • pyproject.toml
    • Updated the project version to 1.2.0.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown

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

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 prefixes the node class mappings with Limbicnation_ to prevent naming conflicts with other custom nodes, which is a good practice. The version number is also correctly updated across pyproject.toml and CLAUDE.md. The changes look good, but I've identified a couple of documentation inconsistencies that should be addressed to keep the project documentation in sync with the code changes.

Comment thread CLAUDE.md
ComfyUI custom node that generates Stable Diffusion prompts using Ollama. Users provide a brief description and select a style preset; the node outputs a detailed, optimized prompt. Supports LoRA-enhanced models with automatic discovery and prioritization.

**Current version**: `1.1.7`
**Current version**: `1.2.0`
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

While updating the version, I noticed the architecture overview in this file (lines 13-20) is incomplete. It's missing nodes/style_applier_node.py, which is registered in __init__.py and provides the StyleApplierNode. It would be beneficial to add it to the file tree for a complete architectural overview.

Comment thread __init__.py
Comment on lines +15 to +16
"Limbicnation_PromptGenerator": "Prompt Generator (Qwen)",
"Limbicnation_StyleApplier": "Style Applier",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The display names for both nodes have been changed, removing the leading emojis. The project's documentation should be updated to reflect this for consistency. For example, line 51 of README.md still refers to the PromptGeneratorNode as **🎨 Prompt Generator (Qwen)**.

@Limbicnation Limbicnation merged commit 758411f into main Mar 9, 2026
1 of 2 checks passed
@Limbicnation Limbicnation deleted the fix/node-naming-conflict branch March 9, 2026 02:32
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