unoverse 0.1.30 → 0.1.31
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/operator/lib/init.sh +5 -1
- package/package.json +1 -1
package/operator/lib/init.sh
CHANGED
|
@@ -245,11 +245,15 @@ cmd_init() {
|
|
|
245
245
|
# OpenAI (for Memory Server)
|
|
246
246
|
local cur_oai
|
|
247
247
|
cur_oai=$(_env_cur OPENAI_API_KEY)
|
|
248
|
+
# NOT just the memory server: compose hands this to the unoverse service itself —
|
|
249
|
+
# agents, embeddings and memory all run on it. A universe boots without it, but its AI
|
|
250
|
+
# does not, so skipping gets a warning rather than silence.
|
|
248
251
|
if [ -n "$cur_oai" ]; then
|
|
249
252
|
read -p " OPENAI_API_KEY [keep current]: " OPENAI_API_KEY
|
|
250
253
|
OPENAI_API_KEY="${OPENAI_API_KEY:-$cur_oai}"
|
|
251
254
|
else
|
|
252
|
-
read -p " OPENAI_API_KEY (
|
|
255
|
+
read -p " OPENAI_API_KEY (powers the platform's AI): " OPENAI_API_KEY
|
|
256
|
+
[ -z "$OPENAI_API_KEY" ] && warn "No OpenAI key: the universe starts, but agents, embeddings and memory will not work until one is in .env"
|
|
253
257
|
fi
|
|
254
258
|
|
|
255
259
|
# Write .env
|
package/package.json
CHANGED