Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with the auth node #3

Open
cfpandrade opened this issue Jul 28, 2024 · 2 comments
Open

Issues with the auth node #3

cfpandrade opened this issue Jul 28, 2024 · 2 comments

Comments

@cfpandrade
Copy link

I have exported the flow but the auth node is showing with an error, it doesn't seem to exist in the flow

@cfpandrade
Copy link
Author

ok, i found the missing node, I'm able to send commands to NR from Assist, and i can see the message captured in one of the nodes, I can also see the the error response ( it means NR can send messages back ) but i'm strugglin in how to perform that format with my own message

@nfragment
Copy link

nfragment commented Aug 12, 2024

The response is expected to be in this format

Use a function node with this,

msg.payload = {
        finish_reason: "stop",
        message: {
            role: "assistant",
            content: "Implement your logic before this node and Replace this message with whatever response you want"
        }
}
return msg;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants