Repository navigation
Expand file tree
/
Copy path.chatgpt.conf
More file actions
252 lines (186 loc) · 7.1 KB
/
Copy path.chatgpt.conf
File metadata and controls
252 lines (186 loc) · 7.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
# ~/.chatgpt.conf
# Config file for chatgpt.sh v0.136
# These have higher priority than environment
# Unset variables use defaults
#
## API keys
#OPENAI_API_KEY=
#GOOGLE_API_KEY=
#MISTRAL_API_KEY=
#GROQ_API_KEY=
#ANTHROPIC_API_KEY=
#DEEPSEEK_API_KEY=
#OPENROUTER_API_KEY=
#XAI_API_KEY=
## DEFAULTS
# Maximum response tokens (unset with 0)
#OPTMAX=4096
# Model capacity (auto)
#MODMAX=
# Text cmpls model
#MOD="gpt-3.5-turbo-instruct"
# Chat cmpls model
#MOD_CHAT="gpt-6-astra"
# Transcription model (STT)
#MOD_AUDIO="whisper-1" #gpt-4o-mini-transcribe
# Speech model (TTS)
#MOD_SPEECH="gpt-4o-mini-tts" #tts-1
#
# TTS model instruction (e.g. gpt-4o-tts)
#INSTRUCTION_SPEECH=
# LocalAI model
#MOD_LOCALAI="phi-4"
# Ollama model
#MOD_OLLAMA="llama4"
# Google AI model
#MOD_GOOGLE="gemini-flash-latest"
# Mistral AI model
#MOD_MISTRAL="mistral-large-latest"
#
#MOD_AUDIO_MISTRAL="voxtral-mini-latest"
# Prefer Mistral Whisper (chat mode)
#WHISPER_MISTRAL=0
# Groq model
#MOD_GROQ="openai/gpt-oss-120b"
# Groq transcription model
#MOD_AUDIO_GROQ="whisper-large-v3"
# Prefer Groq Whisper (chat mode)
#WHISPER_GROQ=0
# Groq TTS model
#MOD_SPEECH_GROQ="canopylabs/orpheus-v1-english"
# Groq TTS voice
#OPTZ_VOICE_GROQ="daniel"
# Groq: autumn diana hannah austin troy
# Prefer Groq TTS (chat mode)
#SPEECH_GROQ=0
# Anthropic model
#MOD_ANTHROPIC="claude-sonnet-5-5"
# OpenRouter API model
#MOD_OPENROUTER="~moonshotai/kimi-latest"
# xAI model
#MOD_XAI="grok-latest"
# DeepSeek model
#MOD_DEEPSEEK="deepseek-v4-flash"
# Stream response
#STREAM=1
# Prompter flush with <CTRL-D>
#OPTCTRD=0
# Temperature
#OPTT=0
# Transcription model temperature
#OPTTW=0
# Top_p probability mass (nucleus sampling)
#OPTP=1
# Top_k (localai, ollama, google ai)
#OPTK=
# Presence penalty
#OPTA=
# Frequency penalty
#OPTAA=
# Number of responses
#OPTN=
# Keep Alive (seconds, Ollama)
#OPT_KEEPALIVE=
# Seed (integer)
#OPTSEED=
# Set python tiktoken
#OPTTIK=0
# TTS voice
#OPTZ_VOICE="echo"
# OpenAI: alloy, fable, onyx, nova, shimmer, ash, ballad, coral, sage, or verse
# TTS voice speed
#OPTZ_SPEED= #0.25 - 4.0
# TTS out format
#OPTZ_FMT="mp3" #mp3, wav, flac, opus, aac, pcm
# TTS max input chars
#OPTZ_MAX=4096
# Recorder command, e.g. "sox -d"
#REC_CMD=""
# Media player command, e.g. "cvlc"
#PLAY_CMD=""
# Clipboard set command, e.g. "xsel -b", "pbcopy"
#CLIP_CMD=""
# Markdown option and renderer
# e.g. "pygmentize -s -lmd", "glow", "mdless", "mdcat"
#OPTMD=0
#MD_CMD="bat"
# Fold response (wrap at white spaces)
#OPTFOLD=1
# Restart sequence (text or null)
#RESTART='\nQ: '
#
# Start sequence (text or null)
#START='\nA:'
# *Chat mode of text completions only*
# Reasoning effort
#REASON_EFFORT=
#OpenAI: effort -- none, minimal, low, medium, high, xhigh
#Anthropic: {sonnet,opus}-4-6+ -- low, medium, high, max
#Anthropic: reasoning budget -- tokens
#Gemini: thinking budget -- tokens
## MISCELLANEOUS
# Text editor
#VISUAL="vim"
# Bash readline mode
#READLINEOPT="emacs" #"vi"
# Bash history size
#HISTSIZE=256
# Timestamp in instruction prompt
# Always: 1, Instruction-Chat-Only: 0, Disable: -1
#INST_TIME=0
#Whisper text context max chars
#WCONTEXT_MAX=490
# OpenAI model verbosity
#VERBOSITY="" #low, medium, or high
# Avoid using `dialog'
#NO_DIALOG=
# API provider model specs lookup
#MODEL_SPECS_DISABLE=0 #-1, 0, or 1
# LiteLLM model specs lookup
#LITELLM_MODEL_SPECS_DISABLE=0 #-1, 0 or 1
# Anthropic cache control (5min cache)
#ANTHROPICAI_CACHE_CONTROL_DISABLE=1 #0 or 1
# Mistral reasoning control
#MISTRALAI_REASONING_CONTROL_DISABLE=1 #-1, 0, or 1
# CACHE AND OUTPUT DIRECTORIES
#CACHEDIR="$HOME/.cache/chatgptsh"
#OUTDIR="$HOME/Downloads"
## MODEL INSTRUCTION
#
#INSTRUCTION_CHAT="The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and friendly."
#INSTRUCTION_CHAT="A seguinte é uma conversa com um assistente de IA. O assistente é prestativo, criativo, sagaz e amigável." #portuguese
#INSTRUCTION_CHAT="Lo siguiente es una conversación con un asistente de IA. El asistente es servicial, creativo, listo y amigable." #spanish
#INSTRUCTION_CHAT="La seguente è una conversazione con un assistente AI. L'assistente è utile, creativo, sveglio e amichevole." #italian
#INSTRUCTION_CHAT="Ce qui suit est une conversation avec un assistant d'IA. L'assistant est prévenant, créatif, astucieux et amical." #french
#INSTRUCTION_CHAT="Das Folgende ist ein Gespräch mit einem KI-Assistenten. Der Assistent ist hilfsbereit, kreativ, klug und freundlich." #german
#INSTRUCTION_CHAT="Далее приводится разговор с ИИ-ассистентом. Ассистент полезный, креативный, сообразительный и дружелюбный." #russian
#INSTRUCTION_CHAT="以下は、AIアシスタントとの会話です。アシスタントは、親切で、創造的で、賢く、そしてフレンドリーです。" #japanese
#INSTRUCTION_CHAT="以下是与一位人工智能助手的对话。该助手乐于助人、富有创造力、聪明且友好。" #chinese
#INSTRUCTION_CHAT="以下是與一位人工智慧助手的對話。該助手樂於助人、富有創造力、聰明且友善。" #chinese traditional
#INSTRUCTION_CHAT="निम्न एक एआई सहायक के साथ एक वार्तालाप है। सहायक मददगार, रचनात्मक, चतुर और मित्रवत है।" #hindi
#
#INSTRUCTION=
## HOST BASE URLS
#OPENAI_URL_PATH="https://api.openai.com/v1/chat/completions" #disable endpoint auto-selection
#OPENAI_BASE_URL="https://api.openai.com/v1"
#OLLAMA_BASE_URL="http://localhost:11434"
#LOCALAI_BASE_URL="http://127.0.0.1:8080/v1"
#MISTRAL_BASE_URL="https://api.mistral.ai/v1"
#GOOGLE_BASE_URL="https://generativelanguage.googleapis.com/v1beta"
#GROQ_BASE_URL="https://api.groq.com/openai/v1"
#ANTHROPIC_BASE_URL="https://api.anthropic.com/v1"
#OPENROUTER_BASE_URL_DEF="https://openrouter.ai/api/v1"
## COLOR THEMES
# Classic Console (v0.3)
#Color11="${Bold}" Color10="" # system, \u001b[1;37m
#Color9="${BCyan}" Color8="${Cyan}" # user input
#Color7="${On_Purple}" Color6="${BPurple}" Color5="${Purple}" # whisper
#Color4="" Color3="${Bold}" # response
#Color2="${BRed}" Color1="${Red}" # warning / error
# Theme 1.1 - Sunset Glow
#Color11="${BRed}" Color10="${BRed}" Color9="${Purple}" Color8="${BPurple}" Color7="${On_Yellow}" Color6="${Cyan}" Color5="${BCyan}" Color4="${Green}" Color3="${BGreen}" Color2="${Blue}" Color1="${BBlue}"
# Theme 2.1 - Radium Tides
#Color11="${BBlue}${On_White}" Color10="${Blue}${On_White}" Color9="${BRed}" Color8="${Red}" Color7="${BWhite}${On_Blue}" Color6="${BGreen}" Color5="${Green}" Color4="${BPurple}${On_Blue}" Color3="${Purple}${On_Blue}" Color2="${White}${On_Red}" Color1="${BWhite}${On_Red}"
# Theme 3.2 - Midnight Oasis
#Color11="${On_Purple}" Color10="${BWhite}${On_Purple}" Color9="${Cyan}" Color8="${BBlue}" Color7="${On_Blue}" Color6="${BYellow}${On_Blue}" Color5="${Yellow}${On_Blue}" Color4="${White}" Color3="${BWhite}" Color2="${BWhite}${On_Red}" Color1="${On_Red}"
# vim:syntax=sh filetype=sh