From 07b678c4e7a9501068acef2b8374bf422f309b87 Mon Sep 17 00:00:00 2001 From: "@navedmerchant" <14171946+navedmerchant@users.noreply.github.com> Date: Thu, 20 Aug 2026 20:50:53 +0000 Subject: [PATCH 1/2] docs(providers): document NanoGPT setup --- docs/providers/index.json | 6 ++++++ docs/providers/nanogpt.md | 44 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 docs/providers/nanogpt.md diff --git a/docs/providers/index.json b/docs/providers/index.json index 31ceaf75..a1b6e0d1 100644 --- a/docs/providers/index.json +++ b/docs/providers/index.json @@ -78,6 +78,12 @@ "extension": true, "cloud": false }, + { + "id": "providers/nanogpt", + "title": "NanoGPT", + "extension": true, + "cloud": false + }, { "id": "providers/ollama", "title": "Ollama", diff --git a/docs/providers/nanogpt.md b/docs/providers/nanogpt.md new file mode 100644 index 00000000..ee1eca46 --- /dev/null +++ b/docs/providers/nanogpt.md @@ -0,0 +1,44 @@ +--- +description: Configure NanoGPT in Zoo Code to access its model catalog, routing preferences, and subscription-supported models. +keywords: + - zoo code + - nanogpt + - ai provider + - language models + - api configuration + - model routing +sidebar_label: NanoGPT +--- + +# Using NanoGPT With Zoo Code + +Zoo Code includes a dedicated [NanoGPT](https://nano-gpt.com/) provider. It loads NanoGPT's current model catalog and supports NanoGPT routing preferences without requiring a custom OpenAI-compatible configuration. + +**Website:** [https://nano-gpt.com/](https://nano-gpt.com/) + +--- + +## Getting an API Key + +1. Sign in or create an account on [NanoGPT](https://nano-gpt.com/). +2. Open the [NanoGPT API page](https://nano-gpt.com/api). +3. Create and copy an API key. + +--- + +## Configuration in Zoo Code + +1. **Open Zoo Code Settings:** Click the gear icon () in the Zoo Code panel. +2. **Select Provider:** Choose "NanoGPT" from the "API Provider" dropdown. +3. **Enter API Key:** Paste your NanoGPT API key. +4. **Select Model:** Choose a model from the fetched catalog. +5. **Choose Routing:** Keep automatic routing or select a preference such as fast, cheap, latency, throughput, tools, or caching. + +--- + +## Tips and Notes + +- **Model capabilities:** Zoo Code uses NanoGPT's model catalog to show models that support tool calling and to populate context, output, vision, reasoning, and pricing metadata. +- **Routing preferences:** A routing preference affects API requests without changing the model saved in your Zoo Code configuration. +- **Muse Spark 1.2 Contributor:** Zoo Code keeps native tools enabled for `meta/muse-spark-1.2-contributor`, but sends one tool call at a time to avoid malformed parallel tool-call responses from the upstream model. +- **Current model details:** See [NanoGPT's model catalog](https://nano-gpt.com/models) for availability and pricing. From e52fef03f828decdc14c4aa865e1b55c4c4ed377 Mon Sep 17 00:00:00 2001 From: "@navedmerchant" <14171946+navedmerchant@users.noreply.github.com> Date: Thu, 20 Aug 2026 23:25:31 +0000 Subject: [PATCH 2/2] docs(nanogpt): clarify tool-result handling --- docs/providers/nanogpt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/providers/nanogpt.md b/docs/providers/nanogpt.md index ee1eca46..abca8e78 100644 --- a/docs/providers/nanogpt.md +++ b/docs/providers/nanogpt.md @@ -40,5 +40,5 @@ Zoo Code includes a dedicated [NanoGPT](https://nano-gpt.com/) provider. It load - **Model capabilities:** Zoo Code uses NanoGPT's model catalog to show models that support tool calling and to populate context, output, vision, reasoning, and pricing metadata. - **Routing preferences:** A routing preference affects API requests without changing the model saved in your Zoo Code configuration. -- **Muse Spark 1.2 Contributor:** Zoo Code keeps native tools enabled for `meta/muse-spark-1.2-contributor`, but sends one tool call at a time to avoid malformed parallel tool-call responses from the upstream model. +- **Muse Spark 1.2 Contributor:** Zoo Code keeps mixed tool-result and environment context in one contiguous tool message for `meta/muse-spark-1.2-contributor`. This improves multi-turn tool reliability without disabling parallel tool calls. - **Current model details:** See [NanoGPT's model catalog](https://nano-gpt.com/models) for availability and pricing.