File tree 3 files changed +10
-5
lines changed 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
- from sympy import Q
1
+ # from sympy import Q
2
2
from npcpy .llm_funcs import get_llm_response
3
3
4
4
Original file line number Diff line number Diff line change @@ -355,11 +355,15 @@ def __init__(
355
355
356
356
self .memory_length = 20
357
357
self .memory_strategy = 'recent'
358
-
358
+ dirs = []
359
+ if self .npc_directory :
360
+ dirs .append (self .npc_directory )
361
+ if self .jinxs_directory :
362
+ dirs .append (self .jinxs_directory )
363
+
359
364
self .jinja_env = Environment (
360
365
loader = FileSystemLoader ([
361
- self .npc_directory ,
362
- self .jinxs_directory ,
366
+ os .path .expanduser (d ) for d in dirs
363
367
]),
364
368
undefined = SilentUndefined ,
365
369
)
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ def package_files(directory):
22
22
"requests" ,
23
23
"matplotlib" ,
24
24
"markdown" ,
25
+ "networkx" ,
25
26
"PyYAML" ,
26
27
"PyMuPDF" ,
27
28
"pyautogui" ,
@@ -82,7 +83,7 @@ def package_files(directory):
82
83
83
84
setup (
84
85
name = "npcpy" ,
85
- version = "1.0.1 " ,
86
+ version = "1.0.2 " ,
86
87
packages = find_packages (exclude = ["tests*" ]),
87
88
install_requires = base_requirements , # Only install base requirements by default
88
89
extras_require = {
You can’t perform that action at this time.
0 commit comments