mirror of
https://github.com/exo-explore/exo.git
synced 2025-12-23 22:27:50 -05:00
Demo
Co-authored-by: Evan <evanev7@gmail.com> Co-authored-by: Alex Cheema <alexcheema123@gmail.com>
This commit is contained in:
@@ -13,9 +13,9 @@ QUERY="$*"
|
||||
curl -sN -X POST "http://$HOST:8000/v1/chat/completions" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{
|
||||
\"model\": \"mlx-community/Llama-3.3-70B-Instruct-8bit\",
|
||||
\"model\": \"mlx-community/Kimi-K2-Thinking\",
|
||||
\"stream\": true,
|
||||
\"messages\": [{ \"role\": \"user\", \"content\": \"$QUERY\" }]
|
||||
\"messages\": [{ \"role\": \"user\", \"content\": \"$QUERY\"}]
|
||||
}" |
|
||||
grep --line-buffered '^data:' |
|
||||
grep --line-buffered -v 'data: \[DONE\]' |
|
||||
|
||||
Reference in New Issue
Block a user