quickstart/chatwitheino: agenticopenai/agenticark pinned to v0.2.0-beta.1 breaks reasoning models (reasoning_text not handled)

Open
#258 0 comments 0 reactions 0 assignees View on GitHub

@yushuosun is already working on this.

Since Nov 28, 2026.

  • #266 by @yushuosun — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
go
Domain
backend

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudwego/eino-examples

All issues in cloudwego/eino-examples

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.