e31e58c9c4
- Load OPENAI_API_KEY and OPENAI_BASE_URL from gitignored .env (repo-root, CWD-independent) - Fix command explanation to use the configured model instead of hardcoded gpt-4o-mini - Update default model and fallbacks to gpt-5.6-luna - Document .env-based configuration in READMEs
37 lines
1.3 KiB
YAML
37 lines
1.3 KiB
YAML
model: gpt-5.6-luna # Default model for command generation
|
|
temperature: 0
|
|
max_tokens: 500
|
|
|
|
# API base URL (optional): Set via OPENAI_BASE_URL in .env, or uncomment below
|
|
# base_url: https://api.openai.com/v1
|
|
|
|
# Safety: If set to False, commands returned from the AI will be run *without* prompting the user.
|
|
safety: True
|
|
|
|
# Streaming: If set to True, command generation will be displayed in real-time as tokens arrive.
|
|
# Set to False for traditional non-streaming behavior.
|
|
streaming: True
|
|
|
|
# Show a "Generating command: " prefix during streaming
|
|
# Set to False to remove the prefix and only show the command
|
|
show_generating_prefix: True
|
|
|
|
# UI Configuration: Controls the appearance and behavior of the user interface
|
|
ui:
|
|
# Enable rich text formatting for command explanations and output
|
|
rich_formatting: True
|
|
|
|
# Theme for syntax highlighting (options: monokai, github-dark, solarized-dark, etc.)
|
|
theme: "monokai"
|
|
|
|
# Command display style (options: simple, highlighted, panel)
|
|
command_style: "panel"
|
|
|
|
# Structured explanations: Generate more structured command explanations
|
|
structured_explanations: True
|
|
|
|
# OpenAI API Key (optional): The key can be provided via .env (OPENAI_API_KEY),
|
|
# an environment variable, or the ~/.openai.apikey file. Prefer .env so the key
|
|
# is not checked into version control.
|
|
# openai_api_key: your-api-key-here
|