googleapis / googleapis/python-aiplatform

ReasoningEngine.create missing support for agent_framework, labels, and env configuration

Đang mở
#6,267 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
api: vertex-ai
Ngôn ngữ chính
Python
Star
905
Fork
465
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
44

Mô tả

#### Environment details

- OS type and version: **macOS (Darwin)**
- Python version: `3.9.6`
- pip version: `latest`
- `google-cloud-aiplatform` version: `1.133.0`

#### Steps to reproduce

1. Define a [ReasoningEngine](cci:2://file:///Users/frayala/Documents/1_Source/GCPDataLakeE2E/vendor/python-aiplatform/vertexai/reasoning_engines/_reasoning_engines.py:115:0-518:38) using `vertexai.preview.reasoning_engines` or `vertexai.reasoning_engines`.
2. Attempt to deploy it with **ADK-specific metadata** (labels, framework) required for Vertex AI Console features (traces, dashboards).
3. Call `ReasoningEngine.create(..., labels={"framework": "adk"}, agent_framework="google-adk")`.
4. **Failure**: The [create](cci:1://file:///Users/frayala/Documents/1_Source/GCPDataLakeE2E/vendor/python-aiplatform/vertexai/reasoning_engines/_reasoning_engines.py:151:4-360:27) method raises a `TypeError` because these arguments are not supported, or (if omitted) the agent deploys but relies on GAPIC patching to be visible in the Console.

#### Code example

```python
from vertexai.preview import reasoning_engines

# Currently impossible via SDK:
reasoning_engines.ReasoningEngine.create(
my_agent,
requirements=["google-cloud-aiplatform[adk]"],
# 👇 These arguments are missing from the SDK signature
agent_framework="google-adk",
labels={"goog-vertex-reasoning-engine-framework": "adk"},
env_vars=[{"name": "OTEL_TRACES_EXPORTER", "value": "otlp"}]
)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.