Skip to content

Commit 51bde7b

Browse files
authored
Merge pull request #13 from pamelafox/mcpremote
Change model for MCP example to avoid token error with GitHub Models
2 parents 179a294 + 74b6fda commit 51bde7b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/agent_mcp_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
client = OpenAIChatClient(
3333
base_url="https://models.github.ai/inference",
3434
api_key=os.environ["GITHUB_TOKEN"],
35-
model_id=os.getenv("GITHUB_MODEL", "openai/gpt-5-mini"),
35+
model_id=os.getenv("GITHUB_MODEL", "openai/gpt-4.1-mini"),
3636
)
3737
else:
3838
client = OpenAIChatClient(

examples/spanish/agent_mcp_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
client = OpenAIChatClient(
3333
base_url="https://models.github.ai/inference",
3434
api_key=os.environ["GITHUB_TOKEN"],
35-
model_id=os.getenv("GITHUB_MODEL", "openai/gpt-5-mini"),
35+
model_id=os.getenv("GITHUB_MODEL", "openai/gpt-4.1-mini"),
3636
)
3737
else:
3838
client = OpenAIChatClient(

0 commit comments

Comments
 (0)