mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-01-09 21:27:53 -05:00
- Implement NO_COLOR environment variable adherence to disable colored output. - Replace existing output color functions with the new `color_text`.
28 lines
530 B
Plaintext
28 lines
530 B
Plaintext
# OPENAI or AZURE or OPENROUTER
|
|
ENDPOINT=OPENAI
|
|
|
|
OPENAI_ENDPOINT=https://api.openai.com/v1/chat/completions
|
|
OPENAI_API_KEY=
|
|
|
|
AZURE_API_KEY=
|
|
AZURE_ENDPOINT=
|
|
|
|
OPENROUTER_API_KEY=
|
|
OPENROUTER_ENDPOINT=https://openrouter.ai/api/v1/chat/completions
|
|
|
|
# In case of Azure/OpenRouter endpoint, change this to your deployed model name
|
|
MODEL_NAME=gpt-4
|
|
# MODEL_NAME=openai/gpt-3.5-turbo-16k
|
|
MAX_TOKENS=8192
|
|
|
|
# Database
|
|
# DATABASE_TYPE=postgres
|
|
|
|
DB_NAME=gpt-pilot
|
|
DB_HOST=
|
|
DB_PORT=
|
|
DB_USER=
|
|
DB_PASSWORD=
|
|
|
|
# Terminal has color or not
|
|
NO_COLOR= |