nicolasmnl
nicolasmnl
CDCloudflare Developers
Created by nicolasmnl on 8/15/2024 in #ai-gateway
Hi, guys! I'm trying to use Ai Gateway
Hi, @jlenon7 ! I tried again and it worked! Just found the error i was having The problem is that at the Ai Gateway Docs the example is showed with the following url https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_name}/google-ai-studio/v1/models/gemini-1.0-pro:generateContent But the one you sent it to me has a very small difference which is the v1beta instead of v1 on the final part :/ https://gateway.ai.cloudflare.com/v1/:account_id/:gateway/google-ai-studio/v1beta/models/gemini-1.5-flash:generateContent If you change just the url you'll see that you get the error with the system_instruction parameter! Thank you so much for the help!
8 replies
CDCloudflare Developers
Created by nicolasmnl on 8/15/2024 in #ai-gateway
Hi, guys! I'm trying to use Ai Gateway
Ji, @jlenon7 ! So sorry for not responding! Didn't have time to look it again! But feel free to close this and if i find anything strange i'll contact again to know more :) Thank you so much for responding and for the support!
8 replies