Open
Description
While using this debug tool, we were not able to extract the user message and pass it to the target LLM.
Following code works fine with deployed extension; but fails with blank messages in local debug setup
let messages = [];
if (req.body && req.body.messages) {
messages = req.body.messages
.filter(({ content, name }) => content && !name)
.map(({ role, content }) => ({
role,
content
}));
}
Metadata
Assignees
Labels
No labels