Skip to content

ci(tutorials): route the tutorials CI's OpenAI calls through the internal gateway - #573

Merged
vineetvora-scale merged 1 commit into
mainfrom
vineet/tutorials-ci-smig
Nov 16, 2026
Merged

vineetvora-scale merged 1 commit into
mainfrom
vineet/tutorials-ci-smig

Conversation

@vineetvora-scale

@vineetvora-scale vineetvora-scale commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

The tutorials CI now calls OpenAI through our internal OpenAI-compatible gateway using a scoped CI key, instead of a direct OpenAI key. Both the key and the gateway URL come from repo secrets (TUTORIAL_SMIG_API_KEY, TUTORIAL_OPENAI_BASE_URL).

  • The workflow sets OPENAI_BASE_URL and turns off OpenAI Agents SDK trace export (OPENAI_AGENTS_DISABLE_TRACING=1), which ignores OPENAI_BASE_URL.
  • The web search MCP server in the 010, 020, 040 and 050 tutorials now also receives OPENAI_BASE_URL when it is set. Without it, behavior is unchanged.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable defects were found.

Summary

Routes tutorial CI calls through a gateway using CI-scoped secrets.

  • Tutorial CI routes its OpenAI and web-search calls through the configured gateway.

Reviews (1) · Last reviewed commit: "ci(tutorials): route the tutorials CI's ..." · Reviewed by Greptile

…rnal gateway

The tutorials CI now uses a scoped gateway key (TUTORIAL_SMIG_API_KEY) with the
gateway URL from TUTORIAL_OPENAI_BASE_URL, and disables OpenAI Agents SDK trace
export, which ignores OPENAI_BASE_URL. The web search MCP server in the 010,
020, 040 and 050 tutorials now also gets OPENAI_BASE_URL when it is set.
@vineetvora-scale
vineetvora-scale merged commit bba2eea into main Nov 16, 2026
55 checks passed
@vineetvora-scale
vineetvora-scale deleted the vineet/tutorials-ci-smig branch November 16, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants