File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ GenAIScript is a custom runtime for node.js. It provides a set of unique APIs an
11
11
12
12
## Guidance for Code Generation
13
13
14
- - you always generate TypeScript code using ESM modules for Node.JS.
14
+ - you always generate JavaScript code using ESM modules for Node.JS.
15
15
- you prefer using APIs from GenAIScript ` genaiscript.d.ts ` rather than node.js. Do NOT use node.js imports.
16
16
- you keep the code simple, avoid exception handlers or error checking.
17
17
- you add ` TODOs ` where you are unsure so that the user can review them
18
18
- 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
You can’t perform that action at this time.
0 commit comments