Skip to content

🚀 Feature Request: Clone AI Configuration in Sourcegit #1390

Open
@AlbertoVPersonal

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions