coze-dev / coze-dev/coze-studio

调用博查插件时,页面没有正常返回,看coze-server日志有报错

Open
#2,646 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

在智能体中调用博查插件时,页面没有正常返回,看coze-server日志有报错

报错日志如下:
2026/03/25 17:41:16.380120 singleagent_run.go:450: [Info] [log-id: ccd083f4-117f-4472-92bd-6bf1873fa7dc] save reasoning content failed, err: code=103200003 message=record not found or nothing to update

stack=/app/pkg/errorx/internal/status.go:140 NewByCode

/app/domain/conversation/message/internal/dal/message.go:174 (*MessageDAO).Edit

/app/domain/conversation/message/internal/dal/message.go:174 (*MessageDAO).Edit

/app/domain/conversation/message/service/message_impl.go:112 (*messageImpl).Edit

/app/crossdomain/message/impl/message.go:151 (*impl).Edit

/app/domain/conversation/agentrun/internal/singleagent_run.go:449 (*AgentRuntime).saveReasoningContent

/app/domain/conversation/agentrun/internal/singleagent_run.go:117 (*AgentRuntime).push

/app/domain/conversation/agentrun/internal/singleagent_run.go:76 (*AgentRuntime).AgentStreamExecute.func2

/app/pkg/safego/safego.go:30 Go.func1

/usr/local/go/src/runtime/asm_arm64.s:1224 goexit

没有联网搜索的可以正常返回

Contributor guide

Open the contributing guide

Research direction

Start with domain/conversation/agentrun/internal/singleagent_run.go, especially AgentRuntime.saveReasoningContent and push, then trace the reported call into crossdomain/message/impl/message.go and domain/conversation/message/internal/dal/message.go. Reproduce the issue by invoking a Bocha plugin and compare it with a run without network search. Done means the page returns normally and the record-not-found error no longer occurs in the coze-server log.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.