Skip to content

Feature: Consolidate Configuration into a Unified Settings File #8

@MeetCoding

Description

@MeetCoding

To streamline user configuration and enhance flexibility, the current prompts.json system should be deprecated in favor of a single, unified configuration file: settings.ghostdev. This new file will serve as the central location for managing custom prompts, specifying LLM providers, and securing API keys, simplifying the setup process for users.

Proposed Functionality

  • New Configuration File: ​Introduce a new configuration file, settings.ghostdev, to be located in the project's root directory.
    ​This file will replace the existing .ghostdev/prompts.json. The system should prioritize settings.ghostdev if both files are present and provide a clear deprecation warning.

  • Configuration Schema: The settings.ghostdev file will support the following configurations:
    ​LLM Provider and Model Selection: Allow users to specify which Large Language Model they wish to use (e.g., OpenAI, Google, Anthropic) and the specific model (e.g., GPT-4, Gemini Pro).

  • ​API Key Management: Provide a field for users to securely input their personal LLM API key, enabling them to use their own accounts.

  • ​Custom Prompts: Migrate the custom prompt definition functionality from prompts.json into the new settings file.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthacktoberfestWelcoming contributions as a part of Hacktoberfest'25

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions