assistant icon indicating copy to clipboard operation
assistant copied to clipboard

Can't get Google Calendar to work

Open luandro opened this issue 1 year ago • 2 comments

I've set all the env vars for the Google Calendar integration:

ENABLE_GOOGLE_CALENDAR="true"
GOOGLE_CALENDAR_CLIENT_EMAIL
GOOGLE_CALENDAR_PRIVATE_KEY
GOOGLE_CALENDAR_CALENDAR_ID

But when prompted it says it has no access:

User: Which events do i have on my calendar on 14/10

Assistant: Infelizmente, não tenho acesso direto ao seu calendário. Mas se você me contar quais eventos você tem no dia 14/10, posso te ajudar a organizar ou lembrar de algo específico! 😊

luandro avatar Oct 11 '24 21:10 luandro

Likely a problem with the setup, in the .env.example there is a github link with a tutorial on how to setup properly.

I would guess mess you cut the "-----BEGIN PRIVATE KEY-----..." part, but you can ask the bot itself for the error it's getting and it might give you a usefull information

Luisotee avatar Oct 11 '24 23:10 Luisotee

The reason why it didnt work is likely due to no OpenAI api key with credits being provided. Currently the calendar tool is hardcoded to accept only the OpenAI api key and to use GPT 4.

I will leave this open until I put in the work to make it work with any model or provider.

Luisotee avatar Nov 04 '24 05:11 Luisotee