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
3 changes: 1 addition & 2 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ API health check.
{
"status": "ok",
"service": "vector-graph-memory-api",
"version": "1.0.0"
"version": "0.1.0"
}
```

Expand Down Expand Up @@ -295,7 +295,6 @@ The API server:
## Known Gaps

- MongoDB audit logging is intended but not fully wired into API startup configuration.
- The API reports `1.0.0` in FastAPI metadata and the health endpoint, while package metadata remains `0.1.0`.
- `start_api.sh` requires `OPENAI_API_KEY` to be exported in the current shell and does not source `.env`.
- JanusGraph schema initialization is manual for local library and local API development.
- Session-scoped audit history does not currently apply the documented `limit` parameter.
Expand Down
2 changes: 1 addition & 1 deletion playground_api.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"text": [
"✓ Connected to Vector Graph Memory API\n",
" Service: vector-graph-memory-api\n",
" Version: 1.0.0\n"
" Version: 0.1.0\n"
]
}
],
Expand Down
5 changes: 3 additions & 2 deletions src/vgm/api/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from pydantic_ai.embeddings.openai import OpenAIEmbeddingModel
from dotenv import load_dotenv

from .. import __version__ as PACKAGE_VERSION
from ..MemoryAgent import MemoryAgent
from ..config import MemoryConfig, MemoryTriggerConfig, AuditConfig

Expand Down Expand Up @@ -213,7 +214,7 @@ async def lifespan(_app: FastAPI):
app = FastAPI(
title="Vector Graph Memory API",
description="OpenAI-compatible API with persistent vector-graph memory",
version="1.0.0",
version=PACKAGE_VERSION,
lifespan=lifespan,
)

Expand All @@ -227,7 +228,7 @@ async def root():
return {
"status": "ok",
"service": "vector-graph-memory-api",
"version": "1.0.0",
"version": PACKAGE_VERSION,
}


Expand Down
Loading