-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix prompt file paths for an installed library (#67)
* default_flows: Move sdg_base into base Flow class Each subclass was calculating the root directory of the python package for finding prompt templates that are embedded in the package. Move this to the base `Flow` class so we're only doing it in one place. Signed-off-by: Russell Bryant <[email protected]> * Fix remaining prompt file paths Special handling is required to find these prompt files from an installed version of the instructlab-sdg package. This updates the rest of this file to make use of `self.sdg_base` from the base `Flow` class which will work from an installed library. Signed-off-by: Russell Bryant <[email protected]> --------- Signed-off-by: Russell Bryant <[email protected]>
- Loading branch information
Showing
1 changed file
with
47 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters