Skip to content

Commit df471dc

Browse files
committed
feat(ai): keep one model
1 parent 5b9dac3 commit df471dc

5 files changed

Lines changed: 7 additions & 25 deletions

File tree

ollama/modelfile_gemma3-1b-ol

Lines changed: 0 additions & 3 deletions
This file was deleted.

ollama/modelfile_gpt-oss-20b-ol

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ PARAMETER num_ctx 65536
44

55
PARAMETER temperature 1.0
66
PARAMETER top_p 1.0
7-
PARAMETER top_k 0
87

98
SYSTEM """Reasoning: high"""

ollama/modelfile_qwen3-14b-ol

Lines changed: 0 additions & 9 deletions
This file was deleted.

opencode/.config/opencode/opencode.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,7 @@
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
},

zsh/.zshrc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -259,21 +259,21 @@ then
259259
fi
260260

261261
# copilot
262-
if type copilot > /dev/null && type glow > /dev/null
262+
if type copilot > /dev/null && type bat > /dev/null
263263
then
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'
269269
fi
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
273273
then
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() {
@@ -284,7 +284,7 @@ then
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() {
@@ -295,7 +295,7 @@ then
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'

0 commit comments

Comments
 (0)