v0.50.224: legacy @provider session models, Docker Hindsight dependency (#1131)
* Fix legacy at-provider session models * Fix Hindsight dependency in Docker WebUI venv --------- Co-authored-by: Frank Song <franksong2702@gmail.com>
This commit is contained in:
1 parent
fc0152b2fc
commit
69bf2878bc
5 files changed
+243
No files matched your search
@@ -285,6 +285,19 @@ echo "";echo "== Activating hermes webui's virtual environment"
|
||||
source /app/venv/bin/activate || error_exit "Failed to activate hermeswebui virtual environment"
|
||||
test -x /app/venv/bin/python3
|
||||
|
||||
ensure_hindsight_client_docker_dependency() {
|
||||
# Keep this outside the .deps_installed fast-restart guard so existing
|
||||
# two-container Docker venvs self-heal after this dependency was added.
|
||||
_hindsight_client_requirement="hindsight-client>=0.4.22"
|
||||
echo ""; echo "== Checking Hindsight memory provider dependency"
|
||||
if uv pip show hindsight-client >/dev/null 2>&1; then
|
||||
echo "-- hindsight-client already installed"
|
||||
else
|
||||
echo "-- Installing ${_hindsight_client_requirement} for Hindsight memory provider support"
|
||||
uv pip install "${_hindsight_client_requirement}" --trusted-host pypi.org --trusted-host files.pythonhosted.org || error_exit "Failed to install hindsight-client"
|
||||
fi
|
||||
}
|
||||
|
||||
if [ -f /app/venv/.deps_installed ]; then
|
||||
echo ""; echo "== Dependencies already installed — skipping (fast restart)"
|
||||
else
|
||||
@@ -323,6 +336,8 @@ else
|
||||
touch /app/venv/.deps_installed
|
||||
fi
|
||||
|
||||
ensure_hindsight_client_docker_dependency
|
||||
|
||||
echo ""; echo "== Running hermes-webui"
|
||||
cd /app; python server.py || error_exit "hermes-webui failed or exited with an error"
|
||||
|
||||
|
||||
Reference in new issue
Block a user