#please oh please someone help me for the
1 messages ยท Page 1 of 1 (latest)
In the config of openclaw int eh agents section there is a primary key change that there
to the openai models that you want to use
click the model section
should be the thing then in that select open ai,give the auth/key then select the model
the advice i gave was to directly edit the json config but the terminal ui the info given above works for that
np,ive had to deal with this software for a while now and figure out how this stuf works
after that it will give ytou the model selector isnt it
keeps choosing this
use the up and down arrow keys
once you find the model you want to use
click space on the keyboard to select it then click enter
shoudl select what you need for ya
i have selected them, before i only selected 5.2 on this latest roublehsoot i selected more
its making me crazy
any idea how to do that
open the web ui
go to config ,in that you have option of form and raw click raw
then scrol down until you find this
in this change the primary to the model you want to use
this happens everytime i try to open web ui
are you running openclaw on windows or wsl,or is it on vps
windows laptop
earlier when i ran openclaw gateway it opened new poweshell tab now it keeps it in sam tab
thats normal but the web ui not working is weird , try disabling the firewall or allowing openclaw in the firewall
it should generally work
it worked earlier when it opened it in new window for powershell
hm maybe you need to restart the openclaw gateway
is there a command that forces it to open new powershell window
try this run openclaw gateway start
in one pwoershell window
then in another tab do openclaw dashboard
should fix that issue
perfecgt
ok this is what i got in what you referenced "agents": {
"defaults": {
"models": {
"openai/gpt-5.2": {
"alias": "gpt"
},
"openai/gpt-5.2-chat-latest": {},
"openai/gpt-5.2-codex": {},
"openai/gpt-5.2-pro": {},
"openai/o1": {},
"openai/o1-pro": {},
"openai/o3": {},
add this then
"primary": ""
and put the model you want in that
"agents": {
"defaults": {
"model": {
"primary": "openrouter/qwen/qwen3-coder",
like that for example
and then click save ,should fix that and it should default to that model then
sorry bro, im new to all this, like this :
{
"meta": {
"lastTouchedVersion": "2026.2.2-3",
"lastTouchedAt": "2026-02-05T00:32:14.814Z"
},
"wizard": {
"lastRunAt": "2026-02-05T00:32:14.800Z",
"lastRunVersion": "2026.2.2-3",
"lastRunCommand": "configure",
"lastRunMode": "local"
},
"agents": {
"defaults": {
"models": {
"primary": "openai/gpt-5.2-chat-latest": {},
"openai/gpt-5.2": {
"alias": "gpt"
},
"openai/gpt-5.2-chat-latest": {},
"openai/gpt-5.2-codex": {},
"openai/gpt-5.2-pro": {},
"openai/o1": {},
"openai/o1-pro": {},
yep that should work
click save and check if the issue is fixed
oh wait no
change this
": {},
to just ,
after the "primary": "openai/gpt-5.2-chat-latest"
like so },
"agents": {
"defaults": {
"models": {
"primary": "openai/gpt-5.2-chat-latest"
"openai/gpt-5.2": {
"alias": "gpt"
},
"primary": "openai/gpt-5.2-chat-latest",
add a comma after that "
and save it
should be good to go
},
"agents": {
"defaults": {
"models": {
"primary": "openai/gpt-5.2-chat-latest",
"openai/gpt-5.2": {
"alias": "gpt" },
"openai/gpt-5.2-chat-latest": {},
"openai/gpt-5.2-codex": {},
"openai/gpt-5.2-pro": {},
now upon saving it says error invalid config
"openai/gpt-5.2": {
"alias": "gpt" },
to
"openai/gpt-5.2": {},
should fix it
if that doesnt fix it copy the json give it a ai chat liek chatgpt or something and ask it to fix it for you ,but that shoudl gnerally fix it
Error: SyntaxError: JSON5: invalid character ',' at 61:4 i got that, chatgpt is being stupid and giving me more errors
try gemini and tell it this is a config json dont change anything just fix syntax errors for me
should do
chatgpt has become more dumber lately
i noticed that too
i have to give up
i have been at this for 6 hours now
its crazy how difficult it is for a newer person
this is the last step tbh , but up to you
another option is to just relaod the web dashboard
then go to the agents tab
i wish i could screenshot here
yes i tried that it just doesnt let me hit the save button
hm so that ui is also broken? ie the agents ui
Agents
Manage agent workspaces, tools, and identities.
Agents
1 configured.
Refresh
m
main
main
default
m
main
Agent workspace and routing.
main
default
Overview
Files
Tools
Skills
Channels
Cron Jobs
Overview
Workspace paths and identity metadata.
Workspace
C:\Users\testi.openclaw\workspace
Primary Model
Identity Name
Assistant
Default
yes
Identity Emoji
Skills Filter
all skills
Model Selection
Primary model
openai-codex/gpt-5.1-codex-mini
Fallbacks (comma-separated)
openai/o1,openai/o1-pro,openai/o3
just wont let me hit save button on there
cause that wouldve been perfect