Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
coderai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
coderai
Commits
81da8cc5
Commit
81da8cc5
authored
Mar 01, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add --endpoint, --token, and --model CLI arguments for temporary overrides
parent
ade8d849
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
coder
coder
+16
-2
No files found.
coder
View file @
81da8cc5
...
...
@@ -1046,9 +1046,19 @@ Examples:
help
=
'API URL (default: from config or http://localhost:6744/v1)'
)
parser
.
add_argument
(
'--endpoint'
,
help
=
'API endpoint URL (same as --api-url, temporary override)'
)
parser
.
add_argument
(
'--token'
,
help
=
'API token (default: from config)'
help
=
'API token (default: from config, temporary override)'
)
parser
.
add_argument
(
'--model'
,
help
=
'Model name to use (default: "default", temporary override)'
)
parser
.
add_argument
(
...
...
@@ -1108,11 +1118,15 @@ Examples:
# Load config
config
=
Config
.
load
(
args
.
config
)
# Override with command line args
# Override with command line args
(temporary, not saved to config)
if
args
.
api_url
:
config
.
api_url
=
args
.
api_url
if
args
.
endpoint
:
config
.
api_url
=
args
.
endpoint
if
args
.
token
:
config
.
token
=
args
.
token
if
args
.
model
:
config
.
model
=
args
.
model
if
args
.
small
:
config
.
small
=
True
if
args
.
tiny
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment