#Automation for HRMS Portal

1 messages · Page 1 of 1 (latest)

low leaf
#

I am trying to automate an HRMS system through OpenClaw, by running it on a local llm model through enterprise gpu, but so far I am not having any luck with the models, as they are not working. So far I have tried models:
Qwen2.5:14b-instruct
Qwen3:32b
Llama3:latest

Any suggestions? Need help urgently.

robust sluiceBOT
grave birchBOT
#

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:

  1. First, verify it’s the model and not config

    openclaw --version
    openclaw status
    openclaw models status
    openclaw logs --follow
    

    Paste those if you want me to help narrow it fast.

  2. 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.

  1. If you’re using LM Studio / vLLM / another OpenAI-compatible /v1 backend
    and direct probes work but OpenClaw fails, try:

    • compat.requiresStringContent: true
    • compat.supportsTools: false
    • agents.defaults.experimental.localModelLean: true

    That’s the main fix path for local backends that choke on OpenClaw’s full prompt/tool schema.

#
  1. 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.

  2. 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:

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.

low leaf
#

OpenClaw 2026.4.14 (7320dfc)
local llm (qwen3:32b)
baseurl is fine.
it just can not fetch tool calling

grave birchBOT
#

Got it. If plain chat works but tool calling doesn’t, this is usually backend mode, not just the model name.

Most likely cases:

  1. If this is Ollama, check the URL path, not just the host

    • âś… http://host:11434
    • ❌ http://host:11434/v1

    For Ollama, /v1 is the OpenAI-compatible mode, and the docs explicitly say tool calling is not reliable there.

  2. If it’s LM Studio / vLLM / another OpenAI-compatible /v1 server
    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

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 :11434 or :11434/v1

Docs:

#

If you’re on Ollama and it’s /v1, I’m pretty confident that’s the bug.

low leaf
#

its not v1, i think its the model workload and gpu, thats the problem.

grave birchBOT
#

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:

low leaf
#

what is openclaw json file format

grave birchBOT
#

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.
low leaf
#

what to write in apibase url for openclaw model configuration\

grave birchBOT
#

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:

low leaf
#

i am using openrouter model

grave birchBOT
#

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" },
    },
  },
}