reflex-dev / reflex

🕸️ Web apps in pure Python 🐍

Home Page:https://reflex.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gemini Import Conflict

05mip opened this issue · comments

This import:
from langchain_google_genai import ChatGoogleGenerativeAI

When used with a simple reflex template with an input and an output box, has an import conflict which causes the site to crash

Ends with this traceback:
image

It seems to not work with the default API:
import google.generativeai as genai

From your stacktrace, I cant see how related this is to Reflex, I also tried importing the package in a blank project and Im not able to repro. Going to close this issue as its not related to Reflex