Replies: 1 comment 2 replies
-
This might be doable already with a config file https://microsoft.github.io/genaiscript/reference/configuration-files/#include-property where you add the "/tmp/genaisxript-1/*.genai.mts" to the include entry. It will scan this folder and load scripts from there. But maybe that's not enough. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the use case to have my scripts in one directory and want to run it in another directory.
I can run a script from another dir with:
The problem with that is that if I declare system scripts in
script.genai.mts
like this:and put the system script
system.my-system-promptgenai.mts
in the same folder (/tmp/genai-script-1
) it is not loaded.Any idea how to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions