Skip to content

Commit 9befa8a

Browse files
committed
chore: update instructions
1 parent 29cb80b commit 9befa8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/instructions/genaiscript.instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ GenAIScript is a custom runtime for node.js. It provides a set of unique APIs an
1111

1212
## Guidance for Code Generation
1313

14-
- you always generate TypeScript code using ESM modules for Node.JS.
14+
- you always generate JavaScript code using ESM modules for Node.JS.
1515
- you prefer using APIs from GenAIScript `genaiscript.d.ts` rather than node.js. Do NOT use node.js imports.
1616
- you keep the code simple, avoid exception handlers or error checking.
1717
- you add `TODOs` where you are unsure so that the user can review them
1818
- you use the global types in genaiscript.d.ts are already loaded in the global context, no need to import them.
19-
- save generated code in the `./genaisrc` folder with `.genai.mts` extension
19+
- save generated code with `.genai.js` extension

0 commit comments

Comments
 (0)