pending changes

This commit is contained in:
Adil Hafeez 2025-10-22 09:24:28 -07:00
parent 94a1dbc172
commit 2fc4070ecb
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
3 changed files with 495 additions and 26 deletions

View file

@ -65,3 +65,51 @@ Content-Type: application/json
}
]
}
### Test with debug mode and reasoning blocks (streaming)
POST http://localhost:8001/v1/chat/completions
Content-Type: application/json
x-debug-mode: true
{
"model": "{{model}}",
"messages": [
{
"role": "user",
"content": "What is the guaranteed uptime percentage for TechCorp's cloud services?"
}
],
"stream": true
}
### Test debug mode without streaming (should work normally)
POST {{baseUrl}}/v1/chat/completions
Content-Type: application/json
X-Debug-Mode: true
{
"model": "{{model}}",
"messages": [
{
"role": "user",
"content": "What is the guaranteed uptime percentage for TechCorp's cloud services?"
}
],
"stream": false
}
### Test debug mode without streaming (should work normally)
POST http://localhost:8001/v1/chat/completions
Content-Type: application/json
x-debug-mode: true
{
"model": "gpt-4o",
"messages": [
{
"role": "user",
"content": "What is the guaranteed uptime percentage for TechCorp's cloud services?"
}
],
"stream": true
}