Replies: 2 comments 2 replies
-
Hi @937747563! I'm Dosu and I’m helping the ragflow team. 这个报错 正确做法是:参数要和你在工作流“开始”模块里配置的变量一一对应,结构必须是字典。例如,如果你在“开始”模块里加了一个 key 为 {
"token": "你的token值"
} 如果有多个参数,比如 {
"token": "xxx",
"user_id": "yyy"
} 不要把整个参数作为字符串传递,也不要用数组。参数名和类型要和工作流 DSL 里的定义完全一致(区分大小写)参考。 如果你用的是 Postman 或代码调用,Content-Type 要设为 建议你检查一下:
如果还有问题,可以贴一下你的请求体和“开始”模块参数配置截图。 To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
Hi, pls check #5910. We’ll temporarily close this thread for now, but feel free to reopen after updating the title or submit a new one in English. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
在工作流工配置,开始模块,添加指定参数提供后面使用。

请求接口场景会话接口就会报错
{
"code": 100,
"data": null,
"message": "TypeError('string indices must be integers')"
}
Beta Was this translation helpful? Give feedback.
All reactions