googleapis / googleapis/python-aiplatform

ADK async_stream_query doesn't capture error

Aperta
#7,001 1 commento 0 reazioni 1 assegnatario Rivendicata da @maxgasztych Vedi su GitHub
api: vertex-ai
Lingua principale
Python
Stelle
905
Fork
465
Merge medio
1g 13h
PR unite (30g)
44

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.