-
Notifications
You must be signed in to change notification settings - Fork 31
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
[BUG] TypeCast issue for Create Connector #123
Comments
The (Side note 1: this generates a compiler warning as an unchecked cast and probably should be handled in a separate getter method that validates the typecast.) (Side note 2: we are iterating an Actions comes from the initialization of the workflow step when it parses this: "inputs":{
"actions":[
{
"action_type":"predict",
"method":"POST",
"url":"https://${parameters.endpoint}/v1/chat/completions"
}
]
} So let's see where we use this Hmmm, wait. We didn't use it. Well that would explain why we can't parse it. Where should we have used it? Let's look for where we output the parent Aha! So that leads us here, were we have special treatment when it sees an array for creating a list of But nothing there for So the object retrieved in TLDR: nowhere prior to this cast do we even see the |
What is the bug?
When invoking create connector workflow step using execute API it fails with the below
The issue on casting the content object to
List<ConnectorActions>
here.How can one reproduce the bug?
What is the expected behavior?
A connector should be created.
What is your host/environment?
Ubuntu
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: