guidance icon indicating copy to clipboard operation
guidance copied to clipboard

#select raises ValueError if its child contents contain whitespace

Open amanape opened this issue 2 years ago • 0 comments

Does not work

Assistant: {{#select "answer"}} Yes{{or}} No{{/select}}

Error: ValueError: No valid option generated in #select! Please post a GitHub issue since this should not happen :)

Works

Assistant: {{#select "answer"}}Yes{{or}}No{{/select}}

Originally posted by @PenutChen in https://github.com/microsoft/guidance/issues/40#issuecomment-1554084184

amanape avatar May 19 '23 09:05 amanape