[BUG] Python ADK: kagent chat pane stays empty against controller 0.5.6
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by tracing the Python ADK task client call to GET /api/tasks/{task_id} and compare its request headers and parameters with the controller’s user-ID requirement described here. The report identifies the missing user_id or X-User-ID and notes related issues #2465 and #2922; check those for context. Done when task retrieval for this agent includes the required user identity and the chat pane displays the completed run.
由索引模型根据 Issue 内容生成。
描述
Symptoms
Seen with an agent built with the kagent-adk Python library and started with kagent-adk run. Not a declarative Agent.
A user sends a message to that agent in the kagent UI. The agent run completes and the trace is there. The chat pane stays on "Start a conversation".
GET /api/sessions/{session}/tasks for that user returns count: 0.
The same Python process writes session events successfully (POST /api/sessions/{id}/events?user_id=<user> returns 201).
It then calls GET /api/tasks/{task_id} with no user_id and no X-User-ID. The controller returns 400:
Failed to get user ID: user_id is required
Versions
- Agent: built with the kagent-adk Python library, run with
kagent-adk run - Python ADK image:
ghcr.io/kagent-dev/kagent/kagent-adk:0.8.0-beta6 - Packages in that image:
kagent-adk0.3.0,kagent-core0.1.0
What this is likely to relate to
The controller change in https://github.com/kagent-dev/kagent/pull/2265 (fix(security): scope task get, create, and delete to the owner, merged 23 Jul 2026). When the caller is the agent, getUserIDOrAgentUser now requires user_id. The Python ADK task client on 0.8.0-beta6 does not send one.
Same class of gap as https://github.com/kagent-dev/kagent/issues/2465 (task-store callbacks lose the authenticated user before task resolution).
Also seen while looking at https://github.com/kagent-dev/kagent/issues/2922.
- 主要语言
- Go
- 星标
- 4.2k
- 派生
- 890
- 平均合并
- 1 天 6 小时
- 30 天内合并 PR
- 189
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
kagent-dev/kagent 的其他 Issue
-
skills-init: commit-SHA skill refs never start (git checkout -- <sha> reads the SHA as a pathspec)可能已有人在做 @talcoh2x 于 1 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 84/100
kagent-dev/kagent#3571 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Gemini catalogs omit gemini-4-argon and gemini-3.8-flash可能已有人在做 @jayunit100 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
kagent-dev/kagent#3524 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Don't add the provider's public host to egress when a ModelConfig sets baseUrl可能已有人在做 @lakshyab20 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 81/100
kagent-dev/kagent#3507 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[BUG] OpenAI and Ollama adapters send an empty tool message when a tool returns a dict可能已有人在做 @helloxjade 于 9 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
kagent-dev/kagent#3462 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
kagent-dev/kagent#3428 · 1 条评论 ·
维护者通常 1 天内回复
查看 kagent-dev/kagent 的全部 Issue
相似的 Issue
-
bug raised-by:desk
难度 2/5 1-3 小时 新手友好度 72/100
medici-finance/assay#6102 ·
维护者通常 1 天内回复
-
hive size:simple
难度 2/5 1-3 小时 新手友好度 84/100
akleizor/ccmorph#456 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
radius-project/radius#13744 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 86/100
mvanhorn/printing-press-library#2460 ·
维护者通常 1 天内回复