Files

410 lines
11 KiB
Bash

##########################################################
# Sample dev .env file.
# Place at the root of your git repo.
# Or use `dev --env <fname>` to specify.
##########################################################
#################
# LLM parameters:
#
# Include xxx_API_KEY parameters and other params needed for your LLMs.
# See https://dev.chat/docs/llms.html for details.
## OpenAI
#OPENAI_API_KEY=
## Anthropic
#ANTHROPIC_API_KEY=
##...
#############
# Main model:
## Specify the model to use for the main chat
#DEV_MODEL=
## Use claude-3-opus-20240229 model for the main chat
#DEV_OPUS=
## Use claude-3-5-sonnet-20241022 model for the main chat
#DEV_SONNET=
## Use claude-3-5-haiku-20241022 model for the main chat
#DEV_HAIKU=
## Use gpt-4-0613 model for the main chat
#DEV_4=
## Use gpt-4o model for the main chat
#DEV_4O=
## Use gpt-4o-mini model for the main chat
#DEV_MINI=
## Use gpt-4-1106-preview model for the main chat
#DEV_4_TURBO=
## Use gpt-3.5-turbo model for the main chat
#DEV_35TURBO=
## Use deepseek/deepseek-chat model for the main chat
#DEV_DEEPSEEK=
## Use o1-mini model for the main chat
#DEV_O1_MINI=
## Use o1-preview model for the main chat
#DEV_O1_PREVIEW=
########################
# API Keys and settings:
## Specify the OpenAI API key
#DEV_OPENAI_API_KEY=
## Specify the Anthropic API key
#DEV_ANTHROPIC_API_KEY=
## Specify the api base url
#DEV_OPENAI_API_BASE=
## (deprecated, use --set-env OPENAI_API_TYPE=<value>)
#DEV_OPENAI_API_TYPE=
## (deprecated, use --set-env OPENAI_API_VERSION=<value>)
#DEV_OPENAI_API_VERSION=
## (deprecated, use --set-env OPENAI_API_DEPLOYMENT_ID=<value>)
#DEV_OPENAI_API_DEPLOYMENT_ID=
## (deprecated, use --set-env OPENAI_ORGANIZATION=<value>)
#DEV_OPENAI_ORGANIZATION_ID=
## Set an environment variable (to control API settings, can be used multiple times)
#DEV_SET_ENV=
## Set an API key for a provider (eg: --api-key provider=<key> sets PROVIDER_API_KEY=<key>)
#DEV_API_KEY=
#################
# Model settings:
## List known models which match the (partial) MODEL name
#DEV_LIST_MODELS=
## Specify a file with dev model settings for unknown models
#DEV_MODEL_SETTINGS_FILE=.dev.model.settings.yml
## Specify a file with context window and costs for unknown models
#DEV_MODEL_METADATA_FILE=.dev.model.metadata.json
## Add a model alias (can be used multiple times)
#DEV_ALIAS=
## Set the reasoning_effort API parameter (default: not set)
#DEV_REASONING_EFFORT=
## Verify the SSL cert when connecting to models (default: True)
#DEV_VERIFY_SSL=true
## Timeout in seconds for API calls (default: None)
#DEV_TIMEOUT=
## Specify what edit format the LLM should use (default depends on model)
#DEV_EDIT_FORMAT=
## Use architect edit format for the main chat
#DEV_ARCHITECT=
## Specify the model to use for commit messages and chat history summarization (default depends on --model)
#DEV_WEAK_MODEL=
## Specify the model to use for editor tasks (default depends on --model)
#DEV_EDITOR_MODEL=
## Specify the edit format for the editor model (default: depends on editor model)
#DEV_EDITOR_EDIT_FORMAT=
## Only work with models that have meta-data available (default: True)
#DEV_SHOW_MODEL_WARNINGS=true
## Soft limit on tokens for chat history, after which summarization begins. If unspecified, defaults to the model's max_chat_history_tokens.
#DEV_MAX_CHAT_HISTORY_TOKENS=
#################
# Cache settings:
## Enable caching of prompts (default: False)
#DEV_CACHE_PROMPTS=false
## Number of times to ping at 5min intervals to keep prompt cache warm (default: 0)
#DEV_CACHE_KEEPALIVE_PINGS=false
###################
# Repomap settings:
## Suggested number of tokens to use for repo map, use 0 to disable
#DEV_MAP_TOKENS=
## Control how often the repo map is refreshed. Options: auto, always, files, manual (default: auto)
#DEV_MAP_REFRESH=auto
## Multiplier for map tokens when no files are specified (default: 2)
#DEV_MAP_MULTIPLIER_NO_FILES=true
################
# History Files:
## Specify the chat input history file (default: .dev.input.history)
#DEV_INPUT_HISTORY_FILE=.dev.input.history
## Specify the chat history file (default: .dev.chat.history.md)
#DEV_CHAT_HISTORY_FILE=.dev.chat.history.md
## Restore the previous chat history messages (default: False)
#DEV_RESTORE_CHAT_HISTORY=false
## Log the conversation with the LLM to this file (for example, .dev.llm.history)
#DEV_LLM_HISTORY_FILE=
##################
# Output settings:
## Use colors suitable for a dark terminal background (default: False)
#DEV_DARK_MODE=false
## Use colors suitable for a light terminal background (default: False)
#DEV_LIGHT_MODE=false
## Enable/disable pretty, colorized output (default: True)
#DEV_PRETTY=true
## Enable/disable streaming responses (default: True)
#DEV_STREAM=true
## Set the color for user input (default: #00cc00)
#DEV_USER_INPUT_COLOR=#00cc00
## Set the color for tool output (default: None)
#DEV_TOOL_OUTPUT_COLOR=
## Set the color for tool error messages (default: #FF2222)
#DEV_TOOL_ERROR_COLOR=#FF2222
## Set the color for tool warning messages (default: #FFA500)
#DEV_TOOL_WARNING_COLOR=#FFA500
## Set the color for assistant output (default: #0088ff)
#DEV_ASSISTANT_OUTPUT_COLOR=#0088ff
## Set the color for the completion menu (default: terminal's default text color)
#DEV_COMPLETION_MENU_COLOR=
## Set the background color for the completion menu (default: terminal's default background color)
#DEV_COMPLETION_MENU_BG_COLOR=
## Set the color for the current item in the completion menu (default: terminal's default background color)
#DEV_COMPLETION_MENU_CURRENT_COLOR=
## Set the background color for the current item in the completion menu (default: terminal's default text color)
#DEV_COMPLETION_MENU_CURRENT_BG_COLOR=
## Set the markdown code theme (default: default, other options include monokai, solarized-dark, solarized-light, or a Pygments builtin style, see https://pygments.org/styles for available themes)
#DEV_CODE_THEME=default
## Show diffs when committing changes (default: False)
#DEV_SHOW_DIFFS=false
###############
# Git settings:
## Enable/disable looking for a git repo (default: True)
#DEV_GIT=true
## Enable/disable adding .dev* to .gitignore (default: True)
#DEV_GITIGNORE=true
## Specify the dev ignore file (default: .devignore in git root)
#DEV_DEVIGNORE=.devignore
## Only consider files in the current subtree of the git repository
#DEV_SUBTREE_ONLY=false
## Enable/disable auto commit of LLM changes (default: True)
#DEV_AUTO_COMMITS=true
## Enable/disable commits when repo is found dirty (default: True)
#DEV_DIRTY_COMMITS=true
## Attribute dev code changes in the git author name (default: True)
#DEV_ATTRIBUTE_AUTHOR=true
## Attribute dev commits in the git committer name (default: True)
#DEV_ATTRIBUTE_COMMITTER=true
## Prefix commit messages with 'dev: ' if dev authored the changes (default: False)
#DEV_ATTRIBUTE_COMMIT_MESSAGE_AUTHOR=false
## Prefix all commit messages with 'dev: ' (default: False)
#DEV_ATTRIBUTE_COMMIT_MESSAGE_COMMITTER=false
## Commit all pending changes with a suitable commit message, then exit
#DEV_COMMIT=false
## Specify a custom prompt for generating commit messages
#DEV_COMMIT_PROMPT=
## Perform a dry run without modifying files (default: False)
#DEV_DRY_RUN=false
## Skip the sanity check for the git repository (default: False)
#DEV_SKIP_SANITY_CHECK_REPO=false
## Enable/disable watching files for ai coding comments (default: False)
#DEV_WATCH_FILES=false
########################
# Fixing and committing:
## Lint and fix provided files, or dirty files if none provided
#DEV_LINT=false
## Specify lint commands to run for different languages, eg: "python: flake8 --select=..." (can be used multiple times)
#DEV_LINT_CMD=
## Enable/disable automatic linting after changes (default: True)
#DEV_AUTO_LINT=true
## Specify command to run tests
#DEV_TEST_CMD=
## Enable/disable automatic testing after changes (default: False)
#DEV_AUTO_TEST=false
## Run tests, fix problems found and then exit
#DEV_TEST=false
############
# Analytics:
## Enable/disable analytics for current session (default: random)
#DEV_ANALYTICS=
## Specify a file to log analytics events
#DEV_ANALYTICS_LOG=
## Permanently disable analytics
#DEV_ANALYTICS_DISABLE=false
############
# Upgrading:
## Check for updates and return status in the exit code
#DEV_JUST_CHECK_UPDATE=false
## Check for new dev versions on launch
#DEV_CHECK_UPDATE=true
## Show release notes on first run of new version (default: None, ask user)
#DEV_SHOW_RELEASE_NOTES=
## Install the latest version from the main branch
#DEV_INSTALL_MAIN_BRANCH=false
## Upgrade dev to the latest version from PyPI
#DEV_UPGRADE=false
########
# Modes:
## Specify a single message to send the LLM, process reply then exit (disables chat mode)
#DEV_MESSAGE=
## Specify a file containing the message to send the LLM, process reply, then exit (disables chat mode)
#DEV_MESSAGE_FILE=
## Run dev in your browser (default: False)
#DEV_GUI=false
## Enable automatic copy/paste of chat between dev and web UI (default: False)
#DEV_COPY_PASTE=false
## Apply the changes from the given file instead of running the chat (debug)
#DEV_APPLY=
## Apply clipboard contents as edits using the main model's editor format
#DEV_APPLY_CLIPBOARD_EDITS=false
## Do all startup activities then exit before accepting user input (debug)
#DEV_EXIT=false
## Print the repo map and exit (debug)
#DEV_SHOW_REPO_MAP=false
## Print the system prompts and exit (debug)
#DEV_SHOW_PROMPTS=false
#################
# Voice settings:
## Audio format for voice recording (default: wav). webm and mp3 require ffmpeg
#DEV_VOICE_FORMAT=wav
## Specify the language for voice using ISO 639-1 code (default: auto)
#DEV_VOICE_LANGUAGE=en
## Specify the input device name for voice recording
#DEV_VOICE_INPUT_DEVICE=
#################
# Other settings:
## specify a file to edit (can be used multiple times)
#DEV_FILE=
## specify a read-only file (can be used multiple times)
#DEV_READ=
## Use VI editing mode in the terminal (default: False)
#DEV_VIM=false
## Specify the language to use in the chat (default: None, uses system settings)
#DEV_CHAT_LANGUAGE=
## Always say yes to every confirmation
#DEV_YES_ALWAYS=
## Enable verbose output
#DEV_VERBOSE=false
## Load and execute /commands from a file on launch
#DEV_LOAD=
## Specify the encoding for input and output (default: utf-8)
#DEV_ENCODING=utf-8
## Line endings to use when writing files (default: platform)
#DEV_LINE_ENDINGS=platform
## Specify the .env file to load (default: .env in git root)
#DEV_ENV_FILE=.env
## Enable/disable suggesting shell commands (default: True)
#DEV_SUGGEST_SHELL_COMMANDS=true
## Enable/disable fancy input with history and completion (default: True)
#DEV_FANCY_INPUT=true
## Enable/disable multi-line input mode with Meta-Enter to submit (default: False)
#DEV_MULTILINE=false
## Enable/disable detection and offering to add URLs to chat (default: True)
#DEV_DETECT_URLS=true
## Specify which editor to use for the /editor command
#DEV_EDITOR=
## Install the tree_sitter_language_pack (experimental)
#DEV_INSTALL_TREE_SITTER_LANGUAGE_PACK=false