googleapis / googleapis/python-aiplatform

ADK async_stream_query doesn't capture error

未关闭
#7,001 1 条评论 0 个 reaction 已指派 1 人 已被 @maxgasztych 认领 在 GitHub 查看
api: vertex-ai
主要语言
Python
星标
907
派生
466
平均合并
1 天 13 小时
30 天内合并 PR
44

描述

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?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。