#Automation for HRMS Portal
1 messages · Page 1 of 1 (latest)
Let me verify the docs/source so I don’t make up model advice.
I found the live docs and I’m checking the troubleshooting section for local-model failures now.
The blunt answer: for HRMS/browser automation, the local model is probably the bottleneck.
Those checkpoints can be fine for plain chat, but OpenClaw automation needs tool calling + long context + stable browser reasoning. Local models often fall over there.
Fastest path to get unstuck:
-
First, verify it’s the model and not config
openclaw --version openclaw status openclaw models status openclaw logs --followPaste those if you want me to help narrow it fast.
-
If you’re using Ollama, do NOT point OpenClaw at
/v1
Use:
baseUrl: "http://host:11434"
not:
baseUrl: "http://host:11434/v1"
OpenClaw docs explicitly warn that Ollama /v1 breaks tool calling.
-
If you’re using LM Studio / vLLM / another OpenAI-compatible
/v1backend
and direct probes work but OpenClaw fails, try:compat.requiresStringContent: truecompat.supportsTools: falseagents.defaults.experimental.localModelLean: true
That’s the main fix path for local backends that choke on OpenClaw’s full prompt/tool schema.
-
For urgent production work, test once with a strong cloud model
If it works there, you’ve confirmed the workflow is fine and the local model/backend is the issue.
I would not try to debug HRMS automation on a weak local checkpoint first. -
Use the biggest full-size local model you can run
OpenClaw’s local-model docs are pretty opinionated here: heavily quantized or smaller local models are much less reliable for agentic work.
Docs:
- Local models: https://docs.openclaw.ai/gateway/local-models
- Ollama: https://docs.openclaw.ai/providers/ollama
- Troubleshooting: https://docs.openclaw.ai/gateway/troubleshooting
- Model docs: https://docs.openclaw.ai/concepts/models
- Fresh community model advice: https://docs.openclaw.ai/concepts/models#model-discussions-community-notes
If you reply with:
openclaw --version- whether you use Ollama / LM Studio / vLLM
- your baseUrl
- the exact error from
openclaw logs --follow
…I can tell you the next fix pretty quickly.
OpenClaw 2026.4.14 (7320dfc)
local llm (qwen3:32b)
baseurl is fine.
it just can not fetch tool calling
Got it. If plain chat works but tool calling doesn’t, this is usually backend mode, not just the model name.
Most likely cases:
-
If this is Ollama, check the URL path, not just the host
- âś…
http://host:11434 - ❌
http://host:11434/v1
For Ollama,
/v1is the OpenAI-compatible mode, and the docs explicitly say tool calling is not reliable there. - âś…
-
If it’s LM Studio / vLLM / another OpenAI-compatible
/v1server
then it may accept normal chat but still choke on OpenClaw’s tool schema.
That’s a known pattern with local backends.
For your use case, I’d be pretty direct: HRMS browser automation is one of the hardest cases for local models. A local 32B can still be too weak/unreliable for stable tool use.
What I’d do right now
- If you need this working today: use a hosted primary model to validate the workflow, keep local as fallback.
- If you must stay local: use
- native Ollama API (no
/v1), or - LM Studio with Responses API
- native Ollama API (no
Important
Do not set compat.supportsTools: false for this workflow unless you’re only trying to prove the backend is the problem, because that disables tool use.
If you want, paste just these 2 things and I can probably spot it quickly:
- your
models.providers...config block - whether your URL is exactly
:11434or:11434/v1
Docs:
If you’re on Ollama and it’s /v1, I’m pretty confident that’s the bug.
its not v1, i think its the model workload and gpu, thats the problem.
Yep, that sounds plausible. For local/browser-heavy runs, GPU pressure and prompt size are a very common failure mode.
Yeah, that’s very believable.
For browser/tool-heavy automation, a local 32B model can still be underpowered once you add:
- large context
- tool schemas
- browser state / multi-step reasoning
OpenClaw’s own local-model docs are pretty blunt here: local works best on very large rigs, and smaller / more quantized setups get brittle fast.
So the practical read is:
If you need this working urgently
Use a hosted primary model, keep local as fallback.
That’s the fastest way to confirm your HRMS workflow is fine and the blocker is just local inference/tool reliability.
If you must stay local
You’ll likely need some combination of:
- more VRAM / less quantization
- larger full-size checkpoint
- shorter sessions / less history
- smaller prompt pressure
Useful test
You can try:
agents: {
defaults: {
experimental: {
localModelLean: true
}
}
}
But important: that is mostly a diagnostic pressure-release valve. It trims heavyweight default tools, so for actual browser automation it may prove the problem, not fully solve it.
So honestly, I think your diagnosis is probably right: model workload + GPU pressure.
If you want, send:
- your GPU model + VRAM
- whether the model is quantized
- whether this is Ollama native or another backend
and I can tell you pretty quickly whether the setup is realistically enough for this use case.
Docs:
what is openclaw json file format
It’s JSON5, not YAML.
Default file:
~/.openclaw/openclaw.json
That means you can use:
- comments
- trailing commas
- unquoted keys (when valid)
Example:
{
agents: {
defaults: {
model: { primary: "ollama/qwen3:32b" },
},
},
}
Useful commands:
openclaw config file
openclaw config validate
openclaw config schema
Two important gotchas:
- OpenClaw is strictly validated. Bad keys or wrong types can stop the gateway from booting.
- Values/examples in docs are generally shown as
json5blocks for this reason.
Docs:
If you want, paste your models.providers block and I’ll tell you if the JSON5 shape is correct.
what to write in apibase url for openclaw model configuration\
apiBaseUrl is just the URL of your inference server, not the model name.
For the common local backends:
- Ollama:
http://127.0.0.1:11434
No/v1 - LM Studio:
http://127.0.0.1:1234/v1 - vLLM / OpenAI-compatible server:
http://127.0.0.1:8000/v1
(or whatever host/port your server uses)
If you’re using Ollama, this is the shape to use:
{
models: {
providers: {
ollama: {
apiKey: "ollama-local",
baseUrl: "http://127.0.0.1:11434",
api: "ollama",
},
},
},
agents: {
defaults: {
model: { primary: "ollama/qwen3:32b" },
},
},
}
So:
baseUrl= server addressprimary= model name
If you want, paste your current models.providers block and I’ll correct it.
Docs:
- Ollama: https://docs.openclaw.ai/providers/ollama
- LM Studio: https://docs.openclaw.ai/providers/lmstudio
- Local models: https://docs.openclaw.ai/gateway/local-models
i am using openrouter model
Ah, if you’re using OpenRouter, then the base URL is:
https://openrouter.ai/api/v1
But honestly, with OpenRouter you usually don’t need to hand-write the provider block at all. The simpler setup is:
{
env: { OPENROUTER_API_KEY: "sk-or-..." },
agents: {
defaults: {
model: { primary: "openrouter/<provider>/<model>" },
},
},
}
Or default route:
{
env: { OPENROUTER_API_KEY: "sk-or-..." },
agents: {
defaults: {
model: { primary: "openrouter/auto" },
},
},
}