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
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
You can’t perform that action at this time.
0 commit comments