true or false

Usage

1function CreateStory(long: bool) -> string {
2 client "openai/gpt-4o-mini"
3 prompt #"
4 Write a story that is {{ "10 paragraphs" if long else "1 paragraph" }} long.
5 "#
6}
7
8test LongStory {
9 functions [CreateStory]
10 args { long true }
11}
12
13test ShortStory {
14 functions [CreateStory]
15 args { long false }
16}