Skip to content

🚀 Feature Request: Clone AI Configuration in Sourcegit #1390

Closed

Description

@AlbertoVPersonal

Summary

It would be extremely useful to have the ability to clone an existing AI configuration in Sourcegit. This feature would allow users to duplicate a configuration setup—including prompts, settings, environment variables, and any other relevant metadata—with a single click or command.

Motivation

Currently, when users want to create a new AI configuration similar to an existing one, they must manually recreate it from scratch. This is time-consuming, error-prone, and makes it difficult to experiment with slight variations.

Use cases include:

  • Quickly creating iterations of prompt configurations for A/B testing
  • Reusing a configuration for different branches or repositories
  • Preserving a base configuration while adjusting parameters for specific situations

Desired Workflow

  1. User views an existing AI configuration in Sourcegit.
  2. A "Clone Configuration" option is available via the UI or CLI.
  3. Sourcegit duplicates all relevant fields and creates a new configuration instance.
  4. The cloned configuration is editable and has a unique name or identifier.

Possible UI Implementation

  • Add a "Clone" button next to each configuration in the configuration list
  • Alternatively, provide a dropdown menu (⋮) with a "Clone" option

Additional Thoughts

An optional enhancement could be allowing users to specify which fields to clone (e.g., just the system prompt, without tokens or runtime parameters).

Benefits

  • Better developer productivity
  • Easier collaboration on prompt engineering
  • Improved reproducibility of experiments
  • Streamlined workflows for testing and debugging

Related Features

  • "Edit Configuration" capability (if not yet implemented)
  • Version history or configuration snapshots (future improvement)

Priority

🌟 High – Frequently requested and will improve user experience significantly.


Thanks for considering this request!

Activity

  1. changed the title [-]New feature: clone the AI model[/-] [+]Feature Request: Clone AI Configuration in Sourcegit[/+] on Jun 5, 2025
  2. changed the title [-]Feature Request: Clone AI Configuration in Sourcegit[/-] [+]🚀 Feature Request: Clone AI Configuration in Sourcegit[/+] on Jun 5, 2025
  3. love-linger commented on Apr 14, 2026

    @love-linger
    Collaborator

    Now the AI-based commit message generator has been totally rewrited. And it's not necessary to clone an exist AI service configuration.

    Image

    You can see that only Additional Prompt can be shared between services. Which can just use Ctrl+A/Ctrl+C/Ctrl+V to copy and paste.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions