You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
REPRODUCE WITH: ./gradlew ':test' --tests "org.opensearch.flowframework.model.TemplateTests.testTemplate" -Dtests.seed=11B7CC6871F9718B -Dtests.security.manager=false -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=th-TH-u-nu-thai-x-lvariant-TH -Dtests.timezone=Pacific/Samoa -Druntime.java=14
org.opensearch.flowframework.model.TemplateTests > testTemplate FAILED
java.io.IOException: A workflow must have at least one node.
at __randomizedtesting.SeedInfo.seed([11B7CC6871F9718B:5B2B768F27CFA470]:0)
at org.opensearch.flowframework.model.Workflow.parse(Workflow.java:120)
at org.opensearch.flowframework.model.Template.parse(Template.java:299)
at org.opensearch.flowframework.model.Template.parse(Template.java:341)
at org.opensearch.flowframework.model.TemplateTests.testTemplate(TemplateTests.java:63)
What is the expected behavior?
Parsing should pass
What is your host/environment?
MacOS
Do you have any screenshots?
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered:
What is the bug?
With the new addition to Template Model, UI_METADATA field. The parser for workflow treats ui_metdata field as another workflow item.
https://github.com/opensearch-project/opensearch-ai-flow-framework/blob/1de0ca54ab29c00987f56e982c87855b70e47911/src/main/java/org/opensearch/flowframework/model/Template.java#L164-L169
How can one reproduce the bug?
Steps to reproduce the behavior.
What is the expected behavior?
Parsing should pass
What is your host/environment?
MacOS
Do you have any screenshots?
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: