You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site-src/guides/troubleshooting.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ This guide provides troubleshooting steps and solutions for common issues encoun
5
5
## 400 Bad Request
6
6
7
7
### `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).
9
9
10
10
**Solution**: Make sure your request body contains the missing field.
0 commit comments