Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in sys.excepthook: #676

Open
Genesis1231 opened this issue Jan 7, 2025 · 2 comments
Open

Error in sys.excepthook: #676

Genesis1231 opened this issue Jan 7, 2025 · 2 comments

Comments

@Genesis1231
Copy link

Genesis1231 commented Jan 7, 2025

Python: 3.11
langchain_google_genai: 2.0.7-8
langchain-0.3.13

i have a standard module supports multple LLM with pydantic output.
I am not sure why but Google spill this error at the end of the response. chatgpt/anthropic dont have this problem.

Error in sys.excepthook:

Original exception was:
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1736249752.868804 99847 init.cc:232] grpc_wait_for_shutdown_with_timeout() timed out.

anyone knows how to get rid of this??

@lkuligin
Copy link
Collaborator

lkuligin commented Jan 7, 2025

can you provide a reproducibe example, please?

@Genesis1231
Copy link
Author

it is actually very simple code with ainvoke, and it doesnt have problem on the server. maybe just my dev environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants