coze-dev / coze-dev/coze-studio

代码处理节点,无法拿到依赖上个模型节点的输出文本或者Markdown内容

Open
#2,510 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
21.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

本地部署coze,在大模型输出节点后有一个代码处理节点,用来提取模型输出内容中含有的标签包围信息,调用的DeepSeek- R1-32B模型

1、当模型节点选择输出文本或者Markdown格式的时
2、代码节点的input,为模型节点输出output且为String类型
3、在代码节点内部,使用params['input'] 获取对应文本时,会报错
4、测试纯文本可以,当文本内含有\n换行符时,params['input']获取值就会报错。

Contributor guide

Open the contributing guide

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.

Research direction

Reproduce the local Coze workflow with DeepSeek-R1-32B: connect a model node producing Text or Markdown to a code node whose input is a String, then read it with params['input']. Test both plain text and content containing newline characters. Done when multiline model output can be retrieved without an error and the intended tag-wrapped content can be extracted.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.