Repository navigation
config: switch AI model to GLM-4.7 Flash #620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| +125 −0 | .ruler/skills/continuous-learning/SKILL.md | |
| +1 −0 | Makefile |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| function _coxel_function --description "Run Codex with a free-form prompt using the local gpt-oss:120b model" | ||
| # Run Codex with a free-form prompt (spaces allowed) using the local gpt-oss:120b model | ||
| function _coxel_function --description "Run Codex with a free-form prompt using the local glm-4.7-flash model" | ||
| # Run Codex with a free-form prompt (spaces allowed) using the local glm-4.7-flash model | ||
| # Usage: cxel [<prompt words...>] | ||
|
|
||
| if test (count $argv) -eq 0 | ||
| codex --profile 'gpt-oss-120b' --full-auto -c model_reasoning_summary_format=experimental | ||
| codex --profile 'glm-4.7-flash' --full-auto -c model_reasoning_summary_format=experimental | ||
| else | ||
| set -l prompt (string join " " -- $argv) | ||
| codex --profile 'gpt-oss-120b' --full-auto -c model_reasoning_summary_format=experimental -- "$prompt" | ||
| codex --profile 'glm-4.7-flash' --full-auto -c model_reasoning_summary_format=experimental -- "$prompt" | ||
| end | ||
|
Comment on lines
5
to
10
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve maintainability and reduce code duplication, you can refactor this |
||
| end | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| function _coxelh_function --description "Run Codex headlessly with local gpt-oss:120b model" | ||
| function _coxelh_function --description "Run Codex headlessly with local glm-4.7-flash model" | ||
|
||
| # Prompt for input and run Codex with local model | ||
| # Usage: coxelh | ||
|
|
||
|
|
@@ -8,5 +8,5 @@ function _coxelh_function --description "Run Codex headlessly with local gpt-oss | |
| return 1 | ||
| end | ||
|
|
||
| codex --profile 'gpt-oss-120b' --full-auto -c model_reasoning_summary_format=experimental -- "$prompt" | ||
| codex --profile 'glm-4.7-flash' --full-auto -c model_reasoning_summary_format=experimental -- "$prompt" | ||
| end | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The function description and comment reference 'glm-4.7-flash model', but the actual profile being used is 'glm-4.7-flash' (seen in lines 6 and 9). Similar to the other function, there's a mismatch between the old description mentioning 'gpt-oss:120b' and the profile name. The descriptions should accurately reflect the profile being used.