Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Fix example commands in reliability.md (#10894)

Will Chen0942a9d51d31
diff --git a/docs/my-website/docs/proxy/reliability.md b/docs/my-website/docs/proxy/reliability.md
index 654c2618c2e..32b35e4bd24 100644
--- a/docs/my-website/docs/proxy/reliability.md
+++ b/docs/my-website/docs/proxy/reliability.md
@@ -117,7 +117,7 @@ response = router.completion(
curl -X POST 'http://0.0.0.0:4000/chat/completions' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer sk-1234' \
--D '{
+-d '{
"model": "my-bad-model",
"messages": [
{
@@ -628,7 +628,7 @@ litellm_settings:
curl -X POST 'http://0.0.0.0:4000/chat/completions' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer sk-1234' \
--D '{
+-d '{
"model": "gpt-4",
"messages": [
{
@@ -655,7 +655,7 @@ Check if your fallbacks are working as expected.
curl -X POST 'http://0.0.0.0:4000/chat/completions' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer sk-1234' \
--D '{
+-d '{
"model": "my-bad-model",
"messages": [
{
@@ -674,7 +674,7 @@ curl -X POST 'http://0.0.0.0:4000/chat/completions' \
curl -X POST 'http://0.0.0.0:4000/chat/completions' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer sk-1234' \
--D '{
+-d '{
"model": "my-bad-model",
"messages": [
{
@@ -693,7 +693,7 @@ curl -X POST 'http://0.0.0.0:4000/chat/completions' \
curl -X POST 'http://0.0.0.0:4000/chat/completions' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer sk-1234' \
--D '{
+-d '{
"model": "my-bad-model",
"messages": [
{
@@ -1050,4 +1050,4 @@ curl -L -X POST 'http://0.0.0.0:4000/key/generate' \
```
</TabItem>
-</Tabs>
\ No newline at end of file
+</Tabs>