From 9d02d3a13b2e39a2a3bf91d8936044f9bbd9fd49 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 16 Mar 2026 16:08:06 -0700 Subject: [PATCH] docs: Minor change to tool calling tutorial --- docs/Tool Calling Tutorial.md | 40 +++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/Tool Calling Tutorial.md b/docs/Tool Calling Tutorial.md index 801e9d78..d95a9c80 100644 --- a/docs/Tool Calling Tutorial.md +++ b/docs/Tool Calling Tutorial.md @@ -1,18 +1,3 @@ -## Supported models - -The following models are supported: - -- Qwen 3.5 -- GPT-OSS -- Mistral Small / Devstral -- DeepSeek V3 -- Kimi-K2 -- MiniMax-M2.5 -- GLM-5 -- Llama 4 - -Other models that output tool calls as JSON (inside XML tags, code blocks, or plain JSON) are also supported through a generic fallback parser. - ## Tool calling in the UI ### 1. Load a model with tool-calling support @@ -23,11 +8,11 @@ Load a model with tool-calling support from the Model tab. In the chat sidebar, check the tools you want the model to use: -- **web_search** -- Search the web using DuckDuckGo. -- **fetch_webpage** -- Fetch the content of a URL. -- **calculate** -- Evaluate math expressions. -- **get_datetime** -- Get the current date and time. -- **roll_dice** -- Roll dice. +- `web_search`: Search the web using DuckDuckGo. +- `fetch_webpage`: Fetch the content of a URL. +- `calculate`: Evaluate math expressions. +- `get_datetime`: Get the current date and time. +- `roll_dice`: Roll dice. ### 3. Chat @@ -157,3 +142,18 @@ for _ in range(10): print(f"\nAssistant: {choice['message']['content']}") break ``` + +## Supported models + +The following models are supported: + +- Qwen 3.5 +- GPT-OSS +- Mistral Small / Devstral +- DeepSeek V3 +- Kimi-K2 +- MiniMax-M2.5 +- GLM-5 +- Llama 4 + +Other models that output tool calls as JSON (inside XML tags, code blocks, or plain JSON) are also supported through a generic fallback parser.