Created
April 23, 2025 14:59
-
-
Save Aaron1011/a51ab31fc726b74ad1e2ea7692afeb97 to your computer and use it in GitHub Desktop.
Bad Grok request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://api.x.ai/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer $XAI_API_KEY" -d '{"messages":[{"role":"user","content":"What is the name of the capital city of Japan?"}],"model":"grok-3-mini","response_format":{"type":"json_object"},"stream":false}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment