[PR #4222] Add Tuning Engines OpenAI-compatible endpoint example #4208

Open
opened 2026-06-05 19:13:09 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/4222
Author: @cerebrixos
Created: 5/30/2026
Status: 🔄 Open

Base: mainHead: tuning-engines-openai-compatible-docs


📝 Commits (1)

  • fb4b33a Add Tuning Engines OpenAI-compatible example

📊 Changes

1 file changed (+30 additions, -0 deletions)

View changed files

📝 src/oss/concepts/providers-and-models.mdx (+30 -0)

📄 Description

Why

LangChain already documents ChatOpenAI with custom base_url for OpenAI-compatible endpoints. Tuning Engines fits that path without requiring a new provider package: teams keep their LangChain or LangGraph code on ChatOpenAI, while Tuning Engines provides a governed endpoint for model access, tenant keys, policy checks, audit logs, traces, and usage/cost accounting.

This is useful for teams that want LangChain/LangGraph to own chains, agents, graph state, and orchestration, while a separate control plane governs the model endpoint used by those apps.

What changed

  • Adds a small Python and TypeScript example under the existing "OpenAI-compatible endpoints" section.
  • Uses placeholder env var TUNING_ENGINES_API_KEY; no secrets or internal provider details are included.
  • Does not add a new package, provider abstraction, or vendor-specific API surface.

Validation

  • Docs-only MDX change.
  • Checked the modified page locally.

🔄 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/4222 **Author:** [@cerebrixos](https://github.com/cerebrixos) **Created:** 5/30/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `tuning-engines-openai-compatible-docs` --- ### 📝 Commits (1) - [`fb4b33a`](https://github.com/langchain-ai/docs/commit/fb4b33a9c6e86aa8f72cc9270573fd6b29875ae3) Add Tuning Engines OpenAI-compatible example ### 📊 Changes **1 file changed** (+30 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/concepts/providers-and-models.mdx` (+30 -0) </details> ### 📄 Description ## Why LangChain already documents `ChatOpenAI` with custom `base_url` for OpenAI-compatible endpoints. Tuning Engines fits that path without requiring a new provider package: teams keep their LangChain or LangGraph code on `ChatOpenAI`, while Tuning Engines provides a governed endpoint for model access, tenant keys, policy checks, audit logs, traces, and usage/cost accounting. This is useful for teams that want LangChain/LangGraph to own chains, agents, graph state, and orchestration, while a separate control plane governs the model endpoint used by those apps. ## What changed - Adds a small Python and TypeScript example under the existing "OpenAI-compatible endpoints" section. - Uses placeholder env var `TUNING_ENGINES_API_KEY`; no secrets or internal provider details are included. - Does not add a new package, provider abstraction, or vendor-specific API surface. ## Validation - Docs-only MDX change. - Checked the modified page locally. --- <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 19:13:09 -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#4208