3 questions from the last 7 days
2
votes
1
answer
88
views
How can I create a tool for langgaph's agent to save data in db?
I created an agent using Langgraph in Python, and I developed a tool for them to save a todo in a database. But that tool doesn't work and raises an error!
I use SQLAlchemy to connect to the DB.
This ...
0
votes
1
answer
54
views
Monitor `asyncio.create_subprocess_exec` pipes for errors
I am trying to pipe multiple Linux commands and abort if there is an error. With Popen the communicate() method waits for all commands to finish. This is why I am trying asyncio now.
I have the ...
0
votes
0
answers
33
views
FastAPI WebSocket + Kafka: Only the last connected client receives messages [closed]
I'm building a real-time dashboard using FastAPI WebSockets + Kafka. Everything works perfectly for a single user, but when multiple users connect, only the most recently connected user receives ...