Skip to content

test baseten responses endpoint against lingua testcases#327

Open
Ken Jiang (knjiang) wants to merge 2 commits into
mainfrom
06-30-test_baseten_responses_endpoint_against_lingua_testcases
Open

test baseten responses endpoint against lingua testcases#327
Ken Jiang (knjiang) wants to merge 2 commits into
mainfrom
06-30-test_baseten_responses_endpoint_against_lingua_testcases

Conversation

@knjiang

Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@knjiang Ken Jiang (knjiang) marked this pull request as ready for review June 30, 2026 20:55

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 31b2635688

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".

return executeOpenAIResponses(caseName, payload, {
...options,
baseURL: BASETEN_HOST,
apiKey: process.env.BASETEN_API_KEY,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Require a Baseten key before calling Baseten

When BASETEN_API_KEY is unset but OPENAI_API_KEY is set, this passes undefined into executeOpenAIResponses; that helper defaults apiKey to process.env.OPENAI_API_KEY while the base URL is still BASETEN_HOST, so ordinary OpenAI-only capture environments can send an OpenAI key to Baseten and create/overwrite auth-error snapshots. Add an explicit BASETEN_API_KEY check here, like the transform capture path does, instead of falling through to the OpenAI key fallback.

Useful? React with 👍 / 👎.

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