coze-dev / coze-dev/coze-studio

工作流增加插件失败,报错:Unknow variable DTO:list:number

Open
#2,645 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**

插件成功发布,配置输出参数的时候,层级是array.array[i].array会在工作流中增加时候报错,报错信息如题。

**To Reproduce**

Steps to reproduce the behavior:
1. 增加插件
2. 配置返回参数格式示例:{
"A": {
"B": [
{
"C": [
0.1,
0.2,
0.3,
0.4
]
}
]
}
}

**Expected behavior**

正常增加插件并且正常运行

**Screenshots**

![Image](https://github.com/user-attachments/assets/cd9245f4-f2e3-4a7e-ba62-5ff3c320896c)

![Image](https://github.com/user-attachments/assets/4c8a588f-a0ef-49e8-b4b0-913cb4554628)

**Version:**

最新代码docker部署

**Environment:**

The output of `go env`.

**Additional context**

Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start with the workflow path for adding a plugin and configuring its output parameters, then reproduce the nested array and array example from the issue. Trace where the DTO:list:number variable is generated or resolved; done means the plugin can be added and run successfully with the shown output structure.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.