Untitled

mail@pastecode.io avatar
unknown
plain_text
5 months ago
1.5 kB
2
Indexable
TypeError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).
Traceback:
File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 75, in exec_func_with_error_handling
    result = func()
             ^^^^^^
File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 574, in code_to_exec
    exec(code, module.__dict__)
File "/mount/src/chatbot/chatbot.py", line 8, in <module>
    from langchain_google_genai import GoogleGenerativeAIEmbeddings, ChatGoogleGenerativeAI
File "/home/adminuser/venv/lib/python3.11/site-packages/langchain_google_genai/__init__.py", line 59, in <module>
    from langchain_google_genai.chat_models import ChatGoogleGenerativeAI
File "/home/adminuser/venv/lib/python3.11/site-packages/langchain_google_genai/chat_models.py", line 91, in <module>
    from langchain_google_genai._function_utils import (
File "/home/adminuser/venv/lib/python3.11/site-packages/langchain_google_genai/_function_utils.py", line 52, in <module>
    for f in gapic.Schema.to_dict(
             ^^^^^^^^^^^^^^^^^^^^^
File "/home/adminuser/venv/lib/python3.11/site-packages/proto/message.py", line 610, in to_dict
    return MessageToDict(
           ^^^^^^^^^^^^^^
Leave a Comment