|
async def process_message(self, context: ConnectionContext, message: str): |
The current frontend-backend communication code seems to have issues, particularly in handling artifact data from the backend ADK.
Completely rewriting the communication code from scratch feels like reinventing the wheel. Why not simply build upon the existing ADK Web framework? Their implementation already handles all the communication logic - we would only need to modify the frontend design.
build-your-agent/agents/adk_ui_starter/websocket-server.py
Line 298 in 401798b
The current frontend-backend communication code seems to have issues, particularly in handling artifact data from the backend ADK.
Completely rewriting the communication code from scratch feels like reinventing the wheel. Why not simply build upon the existing ADK Web framework? Their implementation already handles all the communication logic - we would only need to modify the frontend design.