Skip to content

Commit cbd0649

Browse files
committed
Adjust project build configuration and deployment steps.
1 parent d6c01df commit cbd0649

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

deploy.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,22 @@ section "Data directory & config"
116116
mkdir -p "$DATA_DIR/skills" "$DATA_DIR/tools"
117117
info "Directories: $DATA_DIR/skills $DATA_DIR/tools"
118118

119+
CONFIG_FILE="$DATA_DIR/config.json"
120+
if [[ ! -f "$CONFIG_FILE" ]]; then
121+
cat > "$CONFIG_FILE" << EOF
122+
{
123+
"mcpServers": {},
124+
"skillPaths": [
125+
"$DATA_DIR/skills"
126+
]
127+
}
128+
EOF
129+
CREATED_FILES+=("$CONFIG_FILE")
130+
info "Created $CONFIG_FILE (add MCP servers here)"
131+
else
132+
info "Existing $CONFIG_FILE kept (not overwritten)"
133+
fi
134+
119135
ENV_FILE="$DATA_DIR/.env"
120136
if [[ ! -f "$ENV_FILE" ]]; then
121137
API_KEY="td_$(openssl rand -hex 24)"

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ dependencies = [
1515
"pydantic-settings",
1616
"python-dotenv",
1717
"sentence-transformers",
18+
"slowapi",
19+
"fastmcp",
20+
"mcp",
1821
]
1922

2023
[project.scripts]

0 commit comments

Comments
 (0)