You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for direct call of genaiscript from js (#925)
* worker plugin
* adding small test
* refactor: update script execution and logging process 🔧
* refactor: update script exports & tsconfig settings ✨
* use yaml api
* use api in test harness
* feat: ✨ add Node.JS API support for CLI
* refactor: change imports to use type-only imports ✨
* refactor: 🔄 rename runScript to run across codebase
* simplify signature
* feat: 🎉 support env vars for worker threads
* refactor: update model and clean script comments ✨
* override small model too
* ci: 🔧 update command to run summarize-cached script
You can set the environment variables for the GenAIScript process by passing an object as the `env` field in the options. By default, the worker will inherit `process.env`.
0 commit comments