From d69bf37c713a8b213fa6689b6e6fa71aa8679696 Mon Sep 17 00:00:00 2001 From: LeC-D Date: Fri, 27 Mar 2026 09:03:42 -0400 Subject: [PATCH] docs: update code examples from gpt-5-nano to gpt-5.4-nano (#2716) --- src/docs/src/AI.md | 6 +++--- src/docs/src/AI/chat.md | 6 +++--- src/docs/src/examples.md | 4 ++-- src/docs/src/index.md | 8 ++++---- src/docs/src/playground/examples/ai-chatgpt.html | 4 ++-- src/docs/src/playground/examples/ai-gpt-vision.html | 4 ++-- src/docs/src/playground/examples/intro-chatgpt.html | 4 ++-- src/docs/src/playground/examples/intro-gpt-vision.html | 4 ++-- src/docs/src/supported-platforms.md | 4 ++-- 9 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/docs/src/AI.md b/src/docs/src/AI.md index b75f2e5fee..a543db3a10 100644 --- a/src/docs/src/AI.md +++ b/src/docs/src/AI.md @@ -22,14 +22,14 @@ You can use AI models from various providers to perform tasks such as chat, text
-#### Chat with GPT-5 nano +#### Chat with GPT-5.4 nano ```html;ai-chatgpt @@ -205,7 +205,7 @@ These AI features are supported out of the box when using Puter.js: You can see various Puter.js AI features in action from the following examples: - AI Chat - - [Chat with GPT-5 nano](/playground/ai-chatgpt/) + - [Chat with GPT-5.4 nano](/playground/ai-chatgpt/) - [Image Analysis](/playground/ai-gpt-vision/) - [Stream the response](/playground/ai-chat-stream/) - [Function Calling](/playground/ai-function-calling/) diff --git a/src/docs/src/AI/chat.md b/src/docs/src/AI/chat.md index 6edee79ef0..964bb52715 100755 --- a/src/docs/src/AI/chat.md +++ b/src/docs/src/AI/chat.md @@ -185,14 +185,14 @@ You can find the implementation in our [prompt caching example](/playground/ai-c ## Examples -Ask GPT-5 nano a question +Ask GPT-5.4 nano a question ```html;ai-chatgpt @@ -208,7 +208,7 @@ You can find the implementation in our [prompt caching example](/playground/ai-c diff --git a/src/docs/src/examples.md b/src/docs/src/examples.md index 877cad6061..142d8bed47 100755 --- a/src/docs/src/examples.md +++ b/src/docs/src/examples.md @@ -13,7 +13,7 @@ description: Find examples of serverless applications built with Puter.js

AI Chat

-

A chat app with AI using the Puter AI module. This app is powered by OpenAI GPT-5 nano.

+

A chat app with AI using the Puter AI module. This app is powered by OpenAI GPT-5.4 nano.

@@ -62,7 +62,7 @@ description: Find examples of serverless applications built with Puter.js

Text Summarizer

-

Uses the Puter AI module to summarize a given long text. The model used in the background is GPT-5 nano.

+

Uses the Puter AI module to summarize a given long text. The model used in the background is GPT-5.4 nano.

diff --git a/src/docs/src/index.md b/src/docs/src/index.md index aea86c9afa..5860b7a6de 100755 --- a/src/docs/src/index.md +++ b/src/docs/src/index.md @@ -164,15 +164,15 @@ Puter.js is powered by [Puter](https://github.com/HeyPuter/puter), the open-sour
-#### Chat with GPT-5 nano +#### Chat with GPT-5.4 nano ```html;intro-chatgpt @@ -188,7 +188,7 @@ Puter.js is powered by [Puter](https://github.com/HeyPuter/puter), the open-sour diff --git a/src/docs/src/playground/examples/ai-chatgpt.html b/src/docs/src/playground/examples/ai-chatgpt.html index e18851ebd9..8ea8153e6a 100755 --- a/src/docs/src/playground/examples/ai-chatgpt.html +++ b/src/docs/src/playground/examples/ai-chatgpt.html @@ -5,9 +5,9 @@ // Loading ... puter.print(`Loading...`); - // Chat with GPT-5 nano + // Chat with GPT-5.4 nano puter.ai.chat(`What is life?`, { - model: 'gpt-5-nano', + model: 'gpt-5.4-nano', }).then(puter.print); diff --git a/src/docs/src/playground/examples/ai-gpt-vision.html b/src/docs/src/playground/examples/ai-gpt-vision.html index 3ae976d95b..b4954a3a85 100755 --- a/src/docs/src/playground/examples/ai-gpt-vision.html +++ b/src/docs/src/playground/examples/ai-gpt-vision.html @@ -6,10 +6,10 @@ // Loading ... puter.print(`Loading...`); - // Image analysis with GPT-5 nano + // Image analysis with GPT-5.4 nano puter.ai .chat(`What do you see?`, `https://assets.puter.site/doge.jpeg`, { - model: "gpt-5-nano", + model: "gpt-5.4-nano", }) .then(puter.print); diff --git a/src/docs/src/playground/examples/intro-chatgpt.html b/src/docs/src/playground/examples/intro-chatgpt.html index e18851ebd9..8ea8153e6a 100755 --- a/src/docs/src/playground/examples/intro-chatgpt.html +++ b/src/docs/src/playground/examples/intro-chatgpt.html @@ -5,9 +5,9 @@ // Loading ... puter.print(`Loading...`); - // Chat with GPT-5 nano + // Chat with GPT-5.4 nano puter.ai.chat(`What is life?`, { - model: 'gpt-5-nano', + model: 'gpt-5.4-nano', }).then(puter.print); diff --git a/src/docs/src/playground/examples/intro-gpt-vision.html b/src/docs/src/playground/examples/intro-gpt-vision.html index 3ae976d95b..b4954a3a85 100755 --- a/src/docs/src/playground/examples/intro-gpt-vision.html +++ b/src/docs/src/playground/examples/intro-gpt-vision.html @@ -6,10 +6,10 @@ // Loading ... puter.print(`Loading...`); - // Image analysis with GPT-5 nano + // Image analysis with GPT-5.4 nano puter.ai .chat(`What do you see?`, `https://assets.puter.site/doge.jpeg`, { - model: "gpt-5-nano", + model: "gpt-5.4-nano", }) .then(puter.print); diff --git a/src/docs/src/supported-platforms.md b/src/docs/src/supported-platforms.md index ec1b5117f1..24dee9edcd 100644 --- a/src/docs/src/supported-platforms.md +++ b/src/docs/src/supported-platforms.md @@ -51,7 +51,7 @@ const puter = require("@heyputer/puter.js"); @@ -96,7 +96,7 @@ import { init } from "@heyputer/puter.js/src/init.cjs"; const puter = init(process.env.puterAuthToken); // uses your auth token -// Chat with GPT-5 nano +// Chat with GPT-5.4 nano puter.ai.chat("What color was Napoleon's white horse?").then((response) => { puter.print(response); });