Skip to content

Commit b1113aa

Browse files
committed
docs(gateway): order local model examples
1 parent 0fc2c85 commit b1113aa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎docs/gateway/config-tools.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -656,9 +656,6 @@ Interactive custom-provider onboarding infers image input for known vision-model
656656
Anthropic-compatible, built-in provider. Shortcut: `openclaw onboard --auth-choice kimi-code-api-key`.
657657

658658
</Accordion>
659-
<Accordion title="Local models (LM Studio)">
660-
See [Local Models](/gateway/local-models). TL;DR: run a large local model via LM Studio Responses API on serious hardware; keep hosted models merged for fallback.
661-
</Accordion>
662659
<Accordion title="Local models (llama.cpp / llama-server)">
663660
Point a **custom** `openai-completions` provider at a remote `llama-server` (or another OpenAI-compatible llama.cpp endpoint). The built-in `llama-cpp`, `ollama`, and `lmstudio` providers apply the llama.cpp schema cleaner automatically; a custom endpoint does not. Set `compat.toolSchemaProfile: "llamacpp"` on each model whose llama-server chat template compiles tool arguments into GBNF. The profile removes `pattern` and `maxLength` values at or above 2000, covering the `cron` tool's `trigger.script` limit of 65536. It is a targeted mitigation, not complete compatibility for every JSON Schema constraint or `minLength`.
664661

@@ -697,6 +694,9 @@ Interactive custom-provider onboarding infers image input for known vision-model
697694
On older builds without `toolSchemaProfile`, the broader fallback is `compat.unsupportedToolSchemaKeywords: ["pattern", "patternProperties", "format", "propertyNames", "uniqueItems", "contains", "minContains", "maxContains", "minLength", "maxLength"]`. Unlike the profile, this removes every listed keyword unconditionally.
698695

699696
</Accordion>
697+
<Accordion title="Local models (LM Studio)">
698+
See [Local Models](/gateway/local-models). TL;DR: run a large local model via LM Studio Responses API on serious hardware; keep hosted models merged for fallback.
699+
</Accordion>
700700
<Accordion title="MiniMax M3 (direct)">
701701
```json5
702702
{

0 commit comments

Comments
 (0)