coze-dev / coze-dev/coze-studio
循环体中添加问答节点,问答类型是选项回答,选项内容是动态内容。实际运行中一旦是输入不相干的内容就报错误:"Workflow execution failure: can't fetch endpoint sts token without endpoint"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 21.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
我是这么想的,通过本地宿主机上有一个微服务接口,接口把我的电脑上的所有的COM口信息暴露给coze,然后通过代码模块对信息进行处理,并以列表的格式传递给问答节点。用户如果在列表中发现了预期的COM口,就将这个值赋值给循环的中间变量,并将这个中间变量传递到下一个节点,当然图中是结束节点。
而当用户发现没有预期的节点存在于COM口列表中时,就在问答节点回答不相干的内容,而这个内容没有实际意义,只是让循环体进入下一次的循环而已。
但是我试了直接将问答节点的“其他”选项的输出端连到循环体的右侧终点,亦或者是将问答节点的“其他”选项的输出端连到继续循环节点上。运行的结果都是报"Workflow execution failure: can't fetch endpoint sts token without endpoint"。
我不知道原因是什么,这个是平台BUG还是我处理问题?麻烦帮忙解答一下,谢谢!
Contributor 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.
Research direction
Start by reproducing the workflow described in the issue: a loop containing a question node with dynamic options, including an unrelated answer routed to the loop end or continue node. Trace the workflow execution path for that branch and determine whether the STS-token error is caused by platform handling or by the workflow configuration; done means the cause and a confirmed correction are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100