genkit
genkit copied to clipboard
[PY] Make Prompts Folder Configurable
Implement a configuration option that allows users to specify the location of their prompt files. This will provide flexibility for project structure and organization, moving away from a fixed or hardcoded prompt directory.
This landed in #3992, which added a prompt_dir argument to the Genkit constructor so you can point prompt loading at any folder you like (it still falls back to ./prompts when the argument is omitted). The change shipped in the Python 0.5.0 release, so any genkit version from 0.5.0 onward has it. Closing this as fixed.