feat: 导入 MemRelay 初始源码
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
cache_dir="${BASIC_MEMORY_SEMANTIC_EMBEDDING_CACHE_DIR:-/data/basic-memory/cache}"
|
||||
mkdir -p "$cache_dir"
|
||||
|
||||
if [ -z "$(find "$cache_dir" -mindepth 1 -maxdepth 1 -print -quit)" ]; then
|
||||
cp -R /opt/basic-memory-model/. "$cache_dir"/
|
||||
fi
|
||||
|
||||
chown -R appuser:appgroup /data/basic-memory
|
||||
exec gosu appuser "$@"
|
||||
Reference in New Issue
Block a user