Logo
Explore Help
Sign In
elias/oh-my-opencode
1
0
Fork 0
You've already forked oh-my-opencode
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
oh-my-opencode/src/hooks/think-mode
History
YeonGyu-Kim 9f52e48e8f fix(think-mode): disable thinking parameter for Z.ai GLM models
Z.ai GLM models don't support thinking/reasoning parameters.
Ensure these are omitted entirely to prevent empty responses.

Fixes #980

Community-reported-by: @iserifith
2026-02-14 14:58:02 +09:00
..
detector.ts
feat(hooks): add think-mode hook for automatic model switching
2025-12-09 16:59:22 +09:00
hook.ts
fix(think-mode): disable thinking parameter for Z.ai GLM models
2026-02-14 14:58:02 +09:00
index.test.ts
fix(think-mode): disable thinking parameter for Z.ai GLM models
2026-02-14 14:58:02 +09:00
index.ts
refactor: wave 1 - extract leaf modules, rename catch-all files, split index.ts hooks
2026-02-08 13:57:26 +09:00
switcher.test.ts
fix(think-mode): disable thinking parameter for Z.ai GLM models
2026-02-14 14:58:02 +09:00
switcher.ts
fix(think-mode): disable thinking parameter for Z.ai GLM models
2026-02-14 14:58:02 +09:00
types.ts
feat(think-mode): inject thinking config with maxTokens for extended thinking
2025-12-13 14:05:02 +09:00
Powered by Gitea Version: 23.8.2 Page: 104ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API