

error while building embeddings during the sync.ave you set up "Authenticated Gateway" on the settings pageyes
and passed the token in the cf-aig-authorization header as a bearer tokenno. I found no place for that.
@cf/tomarkdown / @cf/markdown using the AI Gateway?models/gemini-2.5-flash-lite is not found for API version v1, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methodscurl -X POST https://gateway.ai.cloudflare.com/v1/<cloudflare-acco
unt-id>/<gateway-name>/groq/audio/transcriptions \
-H "Content-Type: multipart/form-data" \
-H "Authorization: Bearer <token>" \
-F "model=whisper-large-v3-turbo" \
-F "file=@/path/to/audio.mp3"{"error":{"message":"could not process file - is it a valid media file?","type":"invalid_request_error"}}{
"error": {
"message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": null
}
}@cf/tomarkdown@cf/markdowncurl -N -X POST https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/compat/chat/completions \
--header 'Authorization: Bearer {GOOGLE_GENERATIVE_AI_API_KEY}' \
--header 'Content-Type: application/json' \
--header 'Accept: text/event-stream' \
--header 'Cache-Control: no-cache' \
--data '{
"model": "google-ai-studio/gemini-2.0-flash",
"messages": [
{
"role": "user",
"content": "What is Cloudflare?"
}
],
"stream": true,
"temperature": 0.7,
"max_tokens": 1000
}' | while IFS= read -r line; do
echo "[$(date '+%H:%M:%S.%3N')] $line"
done