Skip to main content
Applies to:
  • Plan -
  • Deployment -

Summary

Issue: Chat with a prompt in a Conversation project fails when the AI provider’s base URL includes the /chat/completions path suffix, resulting in a duplicated upstream path like /v1/chat/completions/chat/completions that OpenAI rejects. Cause: Braintrust automatically appends /chat/completions when constructing the upstream request URL, so including it in the base URL causes the path to be doubled. Resolution: Remove /chat/completions from the provider’s base URL and retry.

Resolution steps

Step 1: Open the provider settings

Navigate to Organization SettingsAI Providers and select the provider backing the model (e.g., GPT-5.2 Chat Provider).

Step 2: Fix the base URL

Update the API base URL field so it ends before /chat/completions.
IncorrectCorrect
https://api.openai.com/v1/chat/completionshttps://api.openai.com/v1
For standard OpenAI providers, you can also leave the base URL field blank to use the default.

Step 3: Save and retry

Save the provider configuration, reload the prompt page, and send the same chat message.