Google AIStudio in 7.0 AI

Infos:

  • Used Zammad version: 7
  • Used Zammad installation type: APT repo
  • Operating system: 22.04
  • Browser + version: Chrome Latest

Looking to use Google’s AIStudio (on free tier) to supply the AI in our test Zammad instance. From what I understand, it is supposed to be OpenAI compatible. I can generate an API key, but I’m unclear as to what I would use as the URL.

Anyone else set this up?

I think it’s visible in the Google API documentation:

I should have shared it, but I tried that URL before posting this. I get the error “AI provider is not accessible: Not found - resource not found”. It doesn’t turn anything up in the AI error logs since nothing goes out.

I think then you are doing something wrong on your side. We tested last week, because of another problem, it for us it was working fine :slight_smile:

You could check the http log in the provider area, for more details.

Found the issue with adding the provider. The URL google provides includes the trailing “/”. Removing this allows me to add it as a provider.

And if anyone is wondering, no you can’t use the Gemma 3 API from zammad. Gemini 2.5 flash works fine, but the free tier only has 20 requests per day. Gemma has a much higher request limit (14K) but won’t accept the payload from Zammad because Gemma doesn’t support “role” : “system” / systemInstruction parameters.

But then this part is not OpenAI compatible I would say.

Agreed, google just isn’t very clear about what models are and aren’t able to accept OpenAI calls, so it’s trial and error. Back to Ollama we go.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.