Open isamu opened 1 week ago
現状でも組み合わせで対応できる
messageData: {
agent: "stringTemplateAgent",
inputs: [":ideaPrompt", ":task1.choices.$0.message.content"],
params: {
template: [
{ role: "user", content: "${0}" },
{ role: "assistant", content: "${1}" },
],
},
},
nextHistory: {
agent: "arrayFlatAgent",
inputs: {
array: [":history", ":messageData"],
},
},
こういうのをやりたかったけど、深い部分のsourceはサポートしていないようでした。