[PR #3633] [MERGED] bump gpt-4.1 model references to gpt-5.4 #3670

Closed
opened 2026-06-05 18:23:55 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3633
Author: @mdrxy
Created: 4/19/2026
Status: Merged
Merged: 4/19/2026
Merged by: @mdrxy

Base: mainHead: mdrxy/chore-bump-models


📝 Commits (1)

  • b2b476e bump gpt-4.1 model references to gpt-5.4

📊 Changes

194 files changed (+699 additions, -699 deletions)

View changed files

📝 src/code-samples/langchain/middleware-dynamic-prompt.ts (+1 -1)
📝 src/langsmith/access-current-span.mdx (+2 -2)
📝 src/langsmith/add-metadata-tags.mdx (+4 -4)
📝 src/langsmith/analyze-an-experiment.mdx (+2 -2)
📝 src/langsmith/annotate-code.mdx (+5 -5)
📝 src/langsmith/code-evaluator-sdk.mdx (+1 -1)
📝 src/langsmith/cost-tracking.mdx (+1 -1)
📝 src/langsmith/define-target-function.mdx (+4 -4)
📝 src/langsmith/evaluate-chatbot-tutorial.mdx (+4 -4)
📝 src/langsmith/evaluate-complex-agent.mdx (+6 -6)
📝 src/langsmith/evaluate-graph.mdx (+2 -2)
📝 src/langsmith/evaluate-llm-application.mdx (+16 -16)
📝 src/langsmith/evaluate-on-intermediate-steps.mdx (+6 -6)
📝 src/langsmith/evaluate-pairwise.mdx (+1 -1)
📝 src/langsmith/evaluate-rag-tutorial.mdx (+20 -20)
📝 src/langsmith/evaluate-with-attachments.mdx (+4 -4)
📝 src/langsmith/evaluation-async.mdx (+2 -2)
📝 src/langsmith/filter-experiments-ui.mdx (+3 -3)
📝 src/langsmith/generative-ui-react.mdx (+2 -2)
📝 src/langsmith/langchain-runnable.mdx (+5 -5)

...and 80 more files

📄 Description

Bump OpenAI model references from the gpt-4.1 family to gpt-5.4 across all illustrative code samples and prose.

Changes

  • Swap gpt-4.1gpt-5.4 across Python kwarg (model="..."), JS object-literal (model: "..."), and positional call sites for ChatOpenAI, init_chat_model, create_agent, AzureAIOpenAIApiChatModel, and ChatAbso
  • Bump -mini and -nano variants in parallel; collapse the dated snapshot gpt-4.1-mini-2025-04-14 to gpt-5.4-mini in the get_usage_metadata_callback response examples in src/oss/langchain/models.mdx
  • Update illustrative alias labels (-creative, -factual, -mini-baseline) used as ls_model_name metadata values or experiment_prefix strings, keeping them consistent with their surrounding model IDs
  • Update 2 prose mentions: evaluator model recommendation in src/langsmith/online-evaluations-multi-turn.mdx and the OpenAI row of the OCI supported-models table in src/oss/python/integrations/providers/oci.mdx

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3633 **Author:** [@mdrxy](https://github.com/mdrxy) **Created:** 4/19/2026 **Status:** ✅ Merged **Merged:** 4/19/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `mdrxy/chore-bump-models` --- ### 📝 Commits (1) - [`b2b476e`](https://github.com/langchain-ai/docs/commit/b2b476e12cceac4002a01fbae26c62835bf78ee4) bump gpt-4.1 model references to gpt-5.4 ### 📊 Changes **194 files changed** (+699 additions, -699 deletions) <details> <summary>View changed files</summary> 📝 `src/code-samples/langchain/middleware-dynamic-prompt.ts` (+1 -1) 📝 `src/langsmith/access-current-span.mdx` (+2 -2) 📝 `src/langsmith/add-metadata-tags.mdx` (+4 -4) 📝 `src/langsmith/analyze-an-experiment.mdx` (+2 -2) 📝 `src/langsmith/annotate-code.mdx` (+5 -5) 📝 `src/langsmith/code-evaluator-sdk.mdx` (+1 -1) 📝 `src/langsmith/cost-tracking.mdx` (+1 -1) 📝 `src/langsmith/define-target-function.mdx` (+4 -4) 📝 `src/langsmith/evaluate-chatbot-tutorial.mdx` (+4 -4) 📝 `src/langsmith/evaluate-complex-agent.mdx` (+6 -6) 📝 `src/langsmith/evaluate-graph.mdx` (+2 -2) 📝 `src/langsmith/evaluate-llm-application.mdx` (+16 -16) 📝 `src/langsmith/evaluate-on-intermediate-steps.mdx` (+6 -6) 📝 `src/langsmith/evaluate-pairwise.mdx` (+1 -1) 📝 `src/langsmith/evaluate-rag-tutorial.mdx` (+20 -20) 📝 `src/langsmith/evaluate-with-attachments.mdx` (+4 -4) 📝 `src/langsmith/evaluation-async.mdx` (+2 -2) 📝 `src/langsmith/filter-experiments-ui.mdx` (+3 -3) 📝 `src/langsmith/generative-ui-react.mdx` (+2 -2) 📝 `src/langsmith/langchain-runnable.mdx` (+5 -5) _...and 80 more files_ </details> ### 📄 Description Bump OpenAI model references from the `gpt-4.1` family to `gpt-5.4` across all illustrative code samples and prose. ## Changes - Swap `gpt-4.1` → `gpt-5.4` across Python kwarg (`model="..."`), JS object-literal (`model: "..."`), and positional call sites for `ChatOpenAI`, `init_chat_model`, `create_agent`, `AzureAIOpenAIApiChatModel`, and `ChatAbso` - Bump `-mini` and `-nano` variants in parallel; collapse the dated snapshot `gpt-4.1-mini-2025-04-14` to `gpt-5.4-mini` in the `get_usage_metadata_callback` response examples in `src/oss/langchain/models.mdx` - Update illustrative alias labels (`-creative`, `-factual`, `-mini-baseline`) used as `ls_model_name` metadata values or `experiment_prefix` strings, keeping them consistent with their surrounding model IDs - Update 2 prose mentions: evaluator model recommendation in `src/langsmith/online-evaluations-multi-turn.mdx` and the OpenAI row of the OCI supported-models table in `src/oss/python/integrations/providers/oci.mdx` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:23:55 -04:00
yindo closed this issue 2026-06-05 18:23:55 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3670