Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

https://github.com/volcengine/OpenViking/issues/477 (#503)

chenjw437c313a6216
diff --git a/openviking/server/bootstrap.py b/openviking/server/bootstrap.py
index 54b3e651e..9c45758ac 100644
--- a/openviking/server/bootstrap.py
+++ b/openviking/server/bootstrap.py
@@ -4,6 +4,7 @@
import argparse
import os
+import shutil
import subprocess
import sys
import time
@@ -176,7 +177,7 @@ def _start_vikingbot_gateway(enable_logging: bool, log_dir: str) -> Optional[Bot
# Check if vikingbot is available
vikingbot_cmd = None
- if subprocess.run(["which", "vikingbot"], capture_output=True).returncode == 0:
+ if shutil.which("vikingbot"):
vikingbot_cmd = ["vikingbot", "gateway"]
else:
# Try python -m vikingbot
diff --git a/pyproject.toml b/pyproject.toml
index 0ea7d5790..1eb0bc16f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -132,17 +132,7 @@ bot-sandbox = [
bot-fuse = ["fusepy>=3.0.1"]
bot-opencode = ["opencode-ai>=0.1.0a0"]
bot-full = [
- "langfuse>=3.0.0",
- "python-telegram-bot[socks]>=21.0",
- "lark-oapi>=1.0.0",
- "dingtalk-stream>=0.4.0",
- "slack-sdk>=3.26.0",
- "qq-botpy>=1.0.0",
- "opensandbox>=0.1.0",
- "opensandbox-server>=0.1.0",
- "agent-sandbox>=0.0.23",
- "fusepy>=3.0.1",
- "opencode-ai>=0.1.0a0",
+ "openviking[bot,bot-langfuse,bot-telegram,bot-feishu,bot-dingtalk,bot-slack,bot-qq,bot-sandbox,bot-fuse,bot-opencode]",
]
[project.urls]