googleapis / googleapis/python-aiplatform

ADK async_stream_query doesn't capture error

Ouverte
#7,001 1 commentaire 0 réactions 1 personne assignée Réclamée par @maxgasztych Voir sur GitHub
api: vertex-ai
Langage dominant
Python
Étoiles
905
Forks
465
Merge moyen
1 j 13 h
PR mergées (30 j)
44

Description

At https://github.com/googleapis/python-aiplatform/blob/main/vertexai/agent_engines/templates/adk.py#L1204, there is a try: and finally: block but no except:.

This means that any error that occurs in a query request doesn't get captured and instead returns a blank string.
Can we add exception handling here and return back to the client?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.