"InferenceUpstreamError: ERROR 3026: Unknown internal error" when calling Workers AI

I'm running into the error InferenceUpstreamError: ERROR 3026: Unknown internal error when calling Workers AI on version 1.0.47 (latest):
const ai = new Ai(env.AI);
const prompt = [
            { role: "system", content: "Prompt" },
            { role: "user", content: "Prompt" },
            { role: "assistant", content: "Prompt" },
]
const result = await ai.run('@cf/meta/llama-2-7b-chat-int8', { messages: prompt });
Was this page helpful?