googleapis / googleapis/python-aiplatform

Deployment link to Agent Engine logs is broken due to punctuation.

未关闭
#6,283 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
api: vertex-ai
主要语言
Python
星标
905
派生
465
平均合并
1 天 13 小时
30 天内合并 PR
44

描述

#### Environment details

- OS type and version: Agent Engine
- Python version: 3.13
- pip version: N/A
- `google-cloud-aiplatform` version: `HEAD`

#### Steps to reproduce

1. Run a deploy to agent engine
2. Watch the stdout (excerpt below)
3. Attempt to click on the log link.
4. Link opens, but is no good due to trailing `.`; records not found

```
2026-01-24 14:46:23,134 - vertexai_genai.agentengines - INFO - Using agent framework: google-adk
2026-01-24 14:46:24,710 - vertexai_genai.agentengines - INFO - View progress and logs at https://console.cloud.google.com/logs/query?project=YOUR_PROJECTED&query=resource.type%3D%22aiplatform.googleapis.com%2FReasoningEngine%22%0Aresource.labels.reasoning_engine_id%3D%22AGENT_ENGINE_ID%22.
2026-01-24 14:50:18,618 - vertexai_genai.agentengines - INFO - Agent Engine updated. To use it in another session:
```

#### The Fix

Copy the URL without the trailing period, try again.

#### Root Cause

A trailing `.` in the logging statement for `View progress and logs at ` , as found after `%22`

https://github.com/googleapis/python-aiplatform/blob/0179aa5fd18260ffa9723abb16b1ec2d36571dd2/vertexai/_genai/agent_engines.py#L961-L964

贡献指南

打开贡献指南

调研方向

从 vertexai/_genai/agent_engines.py#L961-L964 开始,这里是 Agent Engine 部署日志构造控制台 URL 的位置。移除记录链接末尾的标点,然后验证部署输出的 URL 不带句号,并且该 URL 能打开预期的 logs 查询。

由索引模型根据 Issue 内容生成。

评估

技术栈
google-cloud, python
领域
cloud
Issue 类型
缺陷
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
58/100

把新 issue 发到你的邮箱

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