Approval card shows Python repr for list arguments that contain objects
維護者通常 9 天內回覆
評估
研究方向
Start with agent/write_confirmation.py and the summarize_args function, then run the provided summarize_args reproduction with list arguments containing objects and booleans. Update the list-item formatting so object items use compact JSON and boolean items use Yes/No, matching the expected card output. The issue already has an open linked pull request, so a newcomer should confirm the current implementation and avoid duplicating work already underway.
由索引模型根據 Issue 內容生成。
描述
The confirm_write approval card renders each tool argument through summarize_args in agent/write_confirmation.py. A top-level object becomes compact JSON and a top-level boolean becomes Yes or No, but items inside a list go through str(). A list of objects therefore shows Python's repr on the card.
Steps to reproduce
from write_confirmation import summarize_args
summarize_args({"pages": [{"title": "Q3 plan"}], "flags": [True, False]})
Expected result
[{'label': 'Pages', 'value': '{"title": "Q3 plan"}'}, {'label': 'Flags', 'value': 'Yes, No'}]
Actual result
[{'label': 'Pages', 'value': "{'title': 'Q3 plan'}"}, {'label': 'Flags', 'value': 'True, False'}]
This affects any write whose arguments include a list of objects, for example the pages argument when creating Notion pages or the links of a Linear issue. The approver sees Python syntax where the rest of the card uses JSON and Yes/No.
- 主要語言
- Python
- 星號
- 1.3k
- 分支
- 138
- 平均合併
- 5 天 6 小時
- 30 天內合併 PR
- 9
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CopilotKit/OpenTag 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 88/100
CopilotKit/OpenTag#86 ·
維護者通常 9 天內回覆
-
難度 5/5 一週以上 新手友好度 25/100
CopilotKit/OpenTag#76 ·
維護者通常 9 天內回覆
-
難度 5/5 一週以上 新手友好度 35/100
CopilotKit/OpenTag#72 ·
維護者通常 9 天內回覆
-
難度 5/5 一週以上 新手友好度 30/100
CopilotKit/OpenTag#69 ·
維護者通常 9 天內回覆
-
難度 5/5 一週以上 新手友好度 25/100
CopilotKit/OpenTag#36 ·
維護者通常 9 天內回覆
查看 CopilotKit/OpenTag 的全部 Issue
相似的 Issue
-
README.zh-CN/ja/es still hard-code 501 test counts after README.md went count-free可能已有人在做 @Aaqibhafeezkhan 今天認領。 未關閉beginner documentation good first issue
難度 2/5 1-3 小時 新手友好度 75/100
BistaDinesh03/critique#164 · 1 則留言 ·
維護者通常 1 天內回覆
-
bug IO
難度 2/5 1-3 小時 新手友好度 65/100
MrNeRF/LichtFeld-Studio#3824 ·
維護者通常 1 天內回覆
-
bug confirmed issue
難度 2/5 1-3 小時 新手友好度 72/100
open-webui/open-webui#33200 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 72/100
-
The changelog workflow excludes otelbot but not dependabot, so every Dependabot pull request fails the changelog check可能已有人在做 @ocelotl 今天認領。 未關閉
難度 1/5 1 小時以內 新手友好度 82/100
open-telemetry/opentelemetry-python#5825 ·
維護者通常 2 天內回覆