Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ nltk_data/

# Debug logs
logs/

.DS_Store
1 change: 1 addition & 0 deletions docker/api.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ WORKDIR /app
# Copy only dependency files first for better caching
COPY memora/pyproject.toml memora/README.md /app/memora/
COPY memora/memora /app/memora/memora
COPY memora/alembic /app/memora/alembic

# Install uv for faster dependency installation
RUN pip install --no-cache-dir uv
Expand Down
4 changes: 2 additions & 2 deletions docker/control-plane.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ FROM base AS deps
RUN apk add --no-cache libc6-compat
WORKDIR /app

COPY memora-control-plane/package.json memora-control-plane/package-lock.json ./
COPY package.json package-lock.json ./
RUN npm ci

# Rebuild the source code only when needed
FROM base AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY memora-control-plane/ .
COPY . .

RUN npm run build

Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ services:
postgres:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/"]
test: ["CMD", "curl", "-f", "http://localhost:8080/api/v1/agents"]
interval: 10s
timeout: 5s
retries: 5
Expand Down
1 change: 1 addition & 0 deletions memora-control-plane/src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export class DataplaneClient {
query: string;
agent_id: string;
thinking_budget?: number;
context?: string;
}) {
return this.fetchApi(`/api/think`, {
method: 'POST',
Expand Down
4 changes: 1 addition & 3 deletions memora/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dependencies = [
"torch>=2.0.0",
"tiktoken>=0.12.0",
"httpx>=0.27.0",
"fastmcp>=2.0.0",
]

[project.optional-dependencies]
Expand All @@ -35,9 +36,6 @@ test = [
"pytest-asyncio>=0.21.0",
"pytest-timeout>=2.4.0",
]
mcp = [
"fastmcp>=2.0.0",
]

[tool.hatch.build.targets.wheel]
packages = ["memora"]
Expand Down
Loading