Using PaLM API Locally

Hi everyone,

I tried to setup PaLM API to run in my machine, according to the course as well as this guideline: https://developers.generativeai.google/tutorials/text_quickstart

But it generates error: “Non Stream Removed”.

Any suggestion?

Thanks