Skip to content

Commit cac2e56

Browse files
nicolexinkfswain
andauthored
Update site-src/guides/troubleshooting.md
Co-authored-by: Kellen Swain <[email protected]>
1 parent 08eacde commit cac2e56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site-src/guides/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This guide provides troubleshooting steps and solutions for common issues encoun
55
## 400 Bad Request
66

77
### `model not found in request body` or `prompt not found in request`
8-
If the OpenAI API endpoint you're using isn't working as expected, the issue might be related to the request body format. The endpoint picker (EPP) assumes that if a request is a POST, its body must contain the `model` and `prompt` fields. This is because the gateway currently assumes the requests are for Large Language Models (LLMs).
8+
If the OpenAI API endpoint you're using isn't working as expected, the issue might be related to the request body format. The endpoint picker (EPP) assumes that if a request is a POST, its body must contain the `model` field and the `prompt` (or `messages`) field. This is because the gateway currently assumes the requests are for Large Language Models (LLMs).
99

1010
**Solution**: Make sure your request body contains the missing field.
1111

0 commit comments

Comments
 (0)