File tree Expand file tree Collapse file tree
opencode/.config/opencode Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,6 +4,5 @@ PARAMETER num_ctx 65536
44
55PARAMETER temperature 1.0
66PARAMETER top_p 1.0
7- PARAMETER top_k 0
87
98SYSTEM """Reasoning: high"""
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1111 "baseURL" : " http://localhost:11434/v1"
1212 },
1313 "models" : {
14- "gpt-oss-20b-ol:latest" : {
15- "name" : " gpt-oss-20b-ol:latest"
16- },
17- "qwen3-14b-ol:latest" : {
18- "name" : " qwen3-14b-ol:latest"
19- }
14+ "gpt-oss-20b-ol:latest" : {}
2015 }
2116 }
2217 },
Original file line number Diff line number Diff line change @@ -259,21 +259,21 @@ then
259259fi
260260
261261# copilot
262- if type copilot > /dev/null && type glow > /dev/null
262+ if type copilot > /dev/null && type bat > /dev/null
263263then
264264 ask_copilot () {
265265 # NOTE: wrap your query in '' so that no globing or variable expantion takes place
266- PAGER= " less -irFX " ; copilot --model " gpt-5-mini" --silent --prompt " $* " | g -p -
266+ copilot --model " gpt-5-mini" --silent --prompt " $* "
267267 }
268268 alias ' ?c' =' ask_copilot'
269269fi
270270
271271# ollama
272- if type ollama > /dev/null && type glow > /dev/null
272+ if type ollama > /dev/null && type bat > /dev/null && type glow > /dev/null
273273then
274274 ask_generic () {
275275 # NOTE: wrap your query in '' so that no globing or variable expantion takes place
276- PAGER= " less -irFX " ; ollama run --nowordwrap gemma3-1b- ol " $* " | g -p -
276+ ollama run --think=high gpt-oss-20b- ol " $* "
277277 }
278278
279279 ask_shell () {
284284 Parameters: <<explain what each parameter does>>
285285 How to $* in shell.
286286 " " "
287- PAGER=" less -irFX" ; ollama run --nowordwrap gemma3-1b -ol " $PROMPT " | g -p -
287+ PAGER=" less -irFX" ; ollama run --nowordwrap --hidethinking --think=low gpt-oss-20b -ol " $PROMPT " | g -p -
288288 }
289289
290290 ask_explain () {
295295 Parameters: <<explain what each parameter does>>
296296 Explain the shell command: $* .
297297 " " "
298- PAGER=" less -irFX" ; ollama run --nowordwrap gemma3-1b -ol " $PROMPT " | g -p -
298+ PAGER=" less -irFX" ; ollama run --nowordwrap --hidethinking --think=low gpt-oss-20b -ol " $PROMPT " | g -p -
299299 }
300300
301301 alias ' ??' =' noglob ask_generic'
You can’t perform that action at this time.
0 commit comments