-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unified Configuration File in TOML Format #1174
base: main
Are you sure you want to change the base?
Changes from all commits
ec1851e
030f901
34f4fab
3b358d8
3a83be5
e7b1f4d
ce067d5
fb83fe9
d81e7ca
5eab6a4
94505c5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# config.toml | ||
# Unified configuration file for the gpt-engineer project | ||
|
||
# API Configuration | ||
[API] | ||
# API key for OpenAPI | ||
# OPENAI_API_KEY=Your personal OpenAI API key from https://platform.openai.com/account/api-keys | ||
OPENAI_API_KEY = "your_api_key_here" | ||
ANTHROPIC_API_KEY = "your_anthropic_api_key_here" | ||
|
||
# Model configurations | ||
[model] | ||
model_name = "gpt-4o" | ||
# Controls randomness: lower values for more focused, deterministic outputs | ||
temperature = 0.1 | ||
# Endpoint for your Azure OpenAI Service (https://xx.openai.azure.com). | ||
# In that case, the given model is the deployment name chosen in the Azure AI Studio. | ||
azure_endpoint = "" | ||
|
||
# improve mode Configuration | ||
[improve] | ||
# Linting with BLACK (Python) enhances code suggestions from LLMs. | ||
# Enable or disable linting (true/false) | ||
is_linting = false | ||
# Enable or disable file selection. "true" will open your default editor to select the file. (true/false) | ||
is_file_selection = true | ||
|
||
# Git Filter Configuration | ||
[git_filter] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd suggest this section be renamed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fully agreed. Once all the functions are finalized, we'll rename this section and revise all the names in a subsequent commit. For now, I've just placed some placeholders here to help identify and locate all configurations. |
||
# File extension settings for the git filter | ||
file_extensions = ["py", "toml", "md"] | ||
|
||
# Self-Healing Mechanism Configuration | ||
[self_healing] | ||
# Number of retry attempts for self-healing mechanisms (0-2) | ||
retry_attempts = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused, isn't this configuration file gpt-engineer specific?
It would probably be a confusingly general name for most projects.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fully agreed. I will do that in the following commits.