ワンクリックで
llm-provider-configuration
Skill for configuring OpenAI Agents SDK to work with alternative LLM providers using base URL and API key
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Skill for configuring OpenAI Agents SDK to work with alternative LLM providers using base URL and API key
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
This skill provides guidance for implementing secure authentication using Better Auth for Next.js frontend and JWT verification for FastAPI backend.
This skill helps create React chat widgets using the ChatKit React library, following best practices for floating chat interfaces with thread persistence and proper configuration.
This skill helps create ChatKit server implementations that integrate with databases and openai-agents, following best practices for conversation management and message persistence.
This skill provides functionality to properly expose a ChatKit server via FastAPI routes. It handles the integration between FastAPI request/response cycle and the ChatKit server, with proper request processing and response handling.
This skill helps create ChatKit store implementations with database integration, following best practices and avoiding common errors we've solved in previous implementations.
Comprehensive DAPR (Distributed Application Runtime) skill for building distributed microservices from hello world to professional production systems. Provides guidance on DAPR setup, building blocks (service invocation, state management, pub/sub, actors, secrets), sidecar configuration, component configuration, and Kubernetes integration for scalable distributed applications.
| name | llm-provider-configuration |
| description | Skill for configuring OpenAI Agents SDK to work with alternative LLM providers using base URL and API key |
This skill provides guidance for configuring the OpenAI Agents SDK to work with alternative LLM providers (like Google Gemini, Anthropic Claude, etc.) using a custom base URL and API key.
The OpenAI Agents SDK can work with alternative LLM providers that support the OpenAI API format by configuring a custom base URL and API key. This is done through one of three levels:
For per-agent configuration, use the OpenAIChatCompletionsModel with a custom client:
import asyncio
from openai import AsyncOpenAI
from agents import Agent, OpenAIChatCompletionsModel, Runner, set_tracing_disabled
# Initialize client with custom base URL and API key
client = AsyncOpenAI(
api_key=your_api_key,
base_url="https://your-provider-base-url/",
)
set_tracing_disabled(disabled=True)
# Create agent with custom model configuration
agent = Agent(
name="Assistant",
instructions="You are a helpful assistant.",
model=OpenAIChatCompletionsModel(model="model-name", openai_client=client),
)
For Google Gemini integration:
https://generativelanguage.googleapis.com/v1beta/openai/gemini-2.0-flash, gemini-2.5-flash, etc.https://generativelanguage.googleapis.com/v1beta/openai/https://api.anthropic.com/v1/