google / google/adk-python

422 Unprocessable Entity in versions 2.6.0, 2.7.0, 2.8.0 when trying to save an eval case

Đã đóng
#7,019 6 bình luận 0 reaction 1 người được giao Được @surajksharma07 nhận Xem trên GitHub
eval request clarification
Ngôn ngữ chính
Python
Star
21.5k
Fork
4k
Merge trung bình
1 ngày 14 giờ
Pull request đã merge (30 ngày)
37

Mô tả

## 🔴 Required Information
*Please ensure all items in this section are completed to allow for efficient
triaging. Requests without complete information may be rejected / deprioritized.
If an item is not applicable to you - please mark it as N/A*

**Describe the Bug:**
https://github.com/google/adk-python/issues/6336 seems to still persist in versions 2.6.0, 2.7.0, 2.8.0.
Upon trying to edit an eval case on an existing eval set, and hitting save (on the top right) this error is seen:
`HTTP/1.1" 422 Unprocessable Entity`

**Steps to Reproduce:**
Similar to in https://github.com/google/adk-python/issues/6336 but adding steps anyway:
- adk web
- Go to localhost:8000
- Create a new session
- Once agent responds, got to evals tab and create a new eval (+ new)
- Open eval set, and hit +current session (adds the session to eval set)
- Once added, session shows in the evalset, hit edit and try to edit some message in the session
- Once edit done, hit save on the top right
- Save does not happen. I see this on the logs: `HTTP/1.1" 422 Unprocessable Entity`

**Expected Behavior:**
The eval set should update the eval case and give 200 OK

**Observed Behavior:**
`HTTP/1.1" 422 Unprocessable Entity`

**Environment Details:**

- ADK Library Version (pip show google-adk): 2.6.0, 2.7.0, 2.8.0
- Desktop OS:** macOS
- Python Version (python -V): 3.11.6

**Model Information:**

- Are you using LiteLLM: No
- Which model is being used: gemini-2.5-pro

---

## 🟡 Optional Information
*Providing this information greatly speeds up the resolution process.*

**Regression:**
Did this work in a previous version of ADK? If so, which one?
no

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.