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 Settings → AI 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.
| Incorrect | Correct |
|---|---|
https://api.openai.com/v1/chat/completions | https://api.openai.com/v1 |