Howdy y'all, I'm trying your API for the

Howdy y'all, I'm trying your API for the Worker AI stuff by following the example but keep getting errors:
curl -X POST \
https://api.cloudflare.com/client/v4/accounts/MYACCTID/ai/run/@cf/meta/llama-2-7b-chat-int8 \
-H "Authorization: Bearer MYTOKEN" \
-d '{"messages":[{"role":"system","content":"You are a friendly assistant that helps write stories"},{"role":"user","content":"Write a short story about a llama that goes on a journey to find an orange cloud "}]}'
{"errors":[{"message":"InferenceUpstreamError: ERROR 3026: Unknown internal error","code":1000}],"success":false,"result":{},"messages":[]}
curl -X POST \
https://api.cloudflare.com/client/v4/accounts/MYACCTID/ai/run/@cf/meta/llama-2-7b-chat-int8 \
-H "Authorization: Bearer MYTOKEN" \
-d '{"messages":[{"role":"system","content":"You are a friendly assistant that helps write stories"},{"role":"user","content":"Write a short story about a llama that goes on a journey to find an orange cloud "}]}'
{"errors":[{"message":"InferenceUpstreamError: ERROR 3026: Unknown internal error","code":1000}],"success":false,"result":{},"messages":[]}
2 Replies
d
dOP10mo ago
Any ideas?
d
dOP10mo ago
Similar issue with the text-to-image AI (which is the one I'm interested in)
No description
Want results from more Discord servers?
Add your server