langchain-ai / open-canvas

📃 A better UX for chat, writing content, and coding with LLMs.
https://opencanvas.langchain.com/
MIT License
2.58k stars 377 forks source link

how can adding GEMINI api key #160

Closed bryansmithsantos closed 2 weeks ago

bryansmithsantos commented 2 weeks ago

I need plis, I don't know how to put it on

ahmad2b commented 2 weeks ago

Hey @thx404, You can use Gemini by switching to the staging branch. Make sure you've added your Gemini API key to the .env file with the GOOGLE_API_KEY variable.

bracesproul commented 2 weeks ago

@thx404 What @ahmad2b said is true, however I've discovered an issue with streaming tool calls in the @langchain/google-genai package, so I've disabled the Gemini integration for now. I'm working on a fix in the LangChain.js repo though, and once that's done I'll reenable it in staging.