Skip to content

Commit 551ddb9

Browse files
committed
client-openai-responses.sh
1 parent 06c0d17 commit 551ddb9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

llm/client-openai-responses.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
curl -s ${LLAMA_STACK_CLIENT_BASE_URL:-http://localhost:8321}/v1/responses \
2+
-H "Content-Type: application/json" \
3+
-H "Authorization: Bearer none" \
4+
-d '{
5+
"model": "'${INFERENCE_MODEL:-ollama/llama3.2:3b}'",
6+
"input": "hi"
7+
}' | jq .

0 commit comments

Comments
 (0)