@melaya/runner 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pythonEnv.js +11 -0
- package/package.json +1 -1
package/dist/pythonEnv.js
CHANGED
|
@@ -108,6 +108,17 @@ const PIP_DEPS = [
|
|
|
108
108
|
// ships Windows wheels, MilvusLite does not — using Qdrant for OS
|
|
109
109
|
// parity across runners.)
|
|
110
110
|
"ollama",
|
|
111
|
+
// nltk — used by agentscope.rag readers' default split_by="sentence"
|
|
112
|
+
// chunker. Without it, every reader raises ImportError at chunk time
|
|
113
|
+
// (the lazy import happens INSIDE the chunking call, not at module load,
|
|
114
|
+
// so the error surfaces per-file as "nltk is not installed"). The
|
|
115
|
+
// readers also lazily `nltk.download("punkt", quiet=True)` on first use.
|
|
116
|
+
"nltk",
|
|
117
|
+
// pandas — agentscope.rag.ExcelReader uses pandas.read_excel for sheet
|
|
118
|
+
// iteration. Without it, .xlsx files in a Mode B folder fail with
|
|
119
|
+
// "pandas is not installed". Numpy is already in PIP_DEPS (line 57) so
|
|
120
|
+
// the wheel install is fast.
|
|
121
|
+
"pandas",
|
|
111
122
|
];
|
|
112
123
|
export function venvPython() {
|
|
113
124
|
return platform() === "win32"
|