Skip to content

Commit 10239eb

Browse files
committed
docs(ollama): keep strict lean example tool-enabled
1 parent 8efc165 commit 10239eb

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

docs/providers/ollama.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,6 @@ Use these as starting points and replace model IDs with the exact names from `ol
683683
name: "gemma4",
684684
input: ["text"],
685685
params: { num_ctx: 32768 },
686-
compat: { supportsTools: false },
687686
},
688687
],
689688
},
@@ -692,9 +691,20 @@ Use these as starting points and replace model IDs with the exact names from `ol
692691
}
693692
```
694693

695-
Use `compat.supportsTools: false` only when the model or server reliably fails on tool schemas. It trades agent capability for stability.
696694
`localModelLean` defaults to the `basic` profile, which removes the browser, cron, and message tools from the agent surface. `localModelLeanProfile: "strict"` keeps only the minimal coding/status tools. Neither profile changes Ollama's runtime context or thinking mode. Pair it with explicit `params.num_ctx` and `params.thinking: false` for small Qwen-style thinking models that loop or spend their response budget on hidden reasoning.
697695

696+
Use `compat.supportsTools: false` only when the model or server reliably fails on tool schemas even after lean mode. It disables the agent tool loop entirely, so keep it separate from strict lean mode unless you want plain chat behavior:
697+
698+
```json5
699+
{
700+
id: "gemma4",
701+
name: "gemma4",
702+
input: ["text"],
703+
params: { num_ctx: 32768 },
704+
compat: { supportsTools: false },
705+
}
706+
```
707+
698708
</Accordion>
699709
</AccordionGroup>
700710

0 commit comments

Comments
 (0)