quickstart/chatwitheino: agenticopenai/agenticark pinned to v0.2.0-beta.1 breaks reasoning models (reasoning_text not handled)
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
Research direction
Start with quickstart/chatwitheino/go.mod and the cmd/ch01 entry point; compare the pinned dependencies and model-construction API with the versions named in the issue. Check .github/dependabot.yml for the submodule configuration. Done when the example streams a response from a reasoning model without the conversion error; reproduce with the provided go run command and OPENAI_MODEL set to a reasoning model.
Written by the indexing model from the issue text.
Description
**Describe the bug**
quickstart/chatwitheino 的 go.mod 将 agenticopenai / agenticark固定在v0.2.0-beta.1。使用推理模型(o 系列 / gpt-5 等)流式输出时崩溃:
[assistant] failed to convert event
'response.content_part.added':
unknown content part type:
responses.ResponseContentPartAddedEventPartUnion
exit status 1
**To Reproduce**
1. export OPENAI_API_KEY=... 并 export OPENAI_MODEL 为某个推理模
型
2. cd quickstart/chatwitheino && go run ./cmd/ch01 -- "任意问题"
3. 观察上述错误
**Root cause**
v0.2.0-beta.1 的 event convertor 在 content_part.added 事件里只
处理
output_text / refusal,推理模型会先发 reasoning_text,落入
default 分支报错。
该问题已在 agenticopenai v0.2.4 / agenticark v0.2.5 修复。
**Expected behavior**
推理模型也能正常流式输出(示例代码本身还请求了reasoning.encrypted_content,说明本意是支持推理模型的)。
**Additional context**
- 修复需同时升级依赖并适配 API:
agenticopenai.New(&Config{}) ->
NewResponsesModel(&ResponsesConfig{})
- .github/dependabot.yml 的 allow 白名单未包含
agenticopenai/agenticark,
directories 也未包含 /quickstart/chatwitheino,导致该子模块无
法自动升级。
- Dominant language
- Go
- Stars
- 806
- Forks
- 274
- Avg merge
- 13h 34m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudwego/eino-examples
-
Difficulty 4/5 1-2 days Newbie friendliness 20/100
cloudwego/eino-examples#264 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
cloudwego/eino-examples#242 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
cloudwego/eino-examples#241 ·
All issues in cloudwego/eino-examples
Similar issues
-
gui: a narrow window's gateway key row with a line under it wraps its faded badges onto blank linesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
contribution macOS 主机
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Lee-xeo/Claude-Cage#1386 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
prime-radiant-inc/evener#8264 ·
Maintainers usually reply within 1 day
-
Add a list commandOpenbackup-operator
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
platform-mesh/platform-mesh#819 ·
Maintainers usually reply within 1 day