feat: add PARAMETER think support for Modelfile
by sanchez314c
·
Feb 06, 2026 at 19:33 UTC
·
scan-65ee860feb5ae5e4
Get this automatically on every PR
Install the Axiomo GitHub App to get Signals as check runs and PR comments on every pull request.
Risk level: Medium (40%)
Add support for specifying a default 'think' parameter in Modelfiles.
parser/parser.go handles 'think' parameter parsing.
server/routes.go checks req.Think before model parameter.
cmd/cmd.go ensures default behavior remains unchanged.
Test Matrix shows overriding works.
First-time contributor to this repository. unfamiliar with 3 files.
Review 3 file(s)
cmd/cmd.go
+25
Source code
server/routes.go
+22
Source code
parser/parser.go
+15
Source code
17
minutes to review
medium
effort level
none
staleness risk
Standard review process
Insufficient evidence (CI/tests) to evaluate
Why is ci_passing missing? Consider adding this check.
Why is tests_passing missing? Consider adding this check.
First contribution - consider welcoming and providing extra context