googleapis / googleapis/python-aiplatform
ADK async_stream_query doesn't capture error
Offen
#7,001
1 Kommentar
0 Reaktionen
1 zugewiesene Person
Beansprucht von @maxgasztych
Auf GitHub ansehen
api: vertex-ai
- Vorherrschende Sprache
- Python
- Sterne
- 905
- Forks
- 465
- Ø Merge
- 1 T. 13 Std.
- Gemergte PRs (30 T.)
- 44
Beschreibung
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?
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.