Skip to content

Commit cf3e2a8

Browse files
committed
chore: move AI
1 parent f5c2d0d commit cf3e2a8

File tree

4 files changed

+2
-0
lines changed

4 files changed

+2
-0
lines changed
File renamed without changes.

.grit/patterns/js/ai_choose.md renamed to .grit/patterns/universal/ai/ai_choose_example.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ For example, you can use the `ai_choose` function to choose a name for a functio
77
tags: #ai, #sample, #util, #hidden
88

99
```grit
10+
language js
11+
1012
`function ($args) { $body }` as $func where {
1113
$name = ai_ask(choices=["adder", "remover", "divider"], question=`What should I name the function? $func`)
1214
} => `// This function: $name

0 commit comments

Comments
 (0)