Skip to content

[Feature Request] Dynamic Model Mapping & Custom Parameter Injection (e.g., iflow /tab) #411

Closed

Description

@shaoyu12138

The current model list is hardcoded. This causes two main issues:

  1. Outdated List: Existing models (e.g., gemini-2.0-pro) are not available, or using unlisted names results in errors.
  2. Lack of Parameter Mapping: Complex logic cannot be defined. For example, iflow models are currently treated uniformly, but in reality, they need to be categorized:
    • Standard: Normal chat models.
    • Reasoning: Models that require sending /tab to toggle reasoning or adjust reasoning strength.

Describe the solution you'd like

I suggest supporting a configuration file to allow Dynamic Model Definitions.

Core Requirements:

  1. User-Defined Aliases: Users should be able to add new model names manually to bypass "model not found" errors (e.g., adding gemini-2.0-pro).
  2. Parameter Injection (iflow Example): Support mapping a custom alias to specific behaviors.
    • Scenario: Define an alias like iflow-reasoning that maps to the base model plus the /tab command (mapped to reasoning strength).
  3. (Optional) Hot Reload: It would be nice if the config could be reloaded without restarting, but the priority is allowing custom definitions.

Activity

  1. added theissue type on Dec 3, 2025
  2. locked and limited conversation to collaborators on Dec 14, 2025
  3. converted this issue into a discussion #527 on Dec 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions