Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13"]
services:
postgres:
image: pgvector/pgvector:pg17
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ license = "MIT"
authors = [
{ name = "bartosz roguski", email = "bartosz.k.roguski@gmail.com" }
]
requires-python = ">=3.13"
requires-python = ">=3.10"
keywords = ["ai", "agents", "memory", "llm", "rag", "temporal"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Typing :: Typed",
Expand Down Expand Up @@ -58,7 +61,7 @@ dev = [
"asyncpg>=0.30.0",
"cohere>=5.0.0",
"fastembed>=0.6.0",
"ipython>=9.9.0",
"ipython>=8.0.0",
"pgvector>=0.3.6",
"voyageai>=0.3.0",
"pre-commit>=4.5.1",
Expand Down
6 changes: 3 additions & 3 deletions src/memv/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import asyncio
from datetime import datetime, timezone
from enum import StrEnum
from enum import Enum
from typing import TYPE_CHECKING, Literal
from uuid import UUID, uuid4

Expand All @@ -12,7 +12,7 @@
from asyncio import Task


class MessageRole(StrEnum):
class MessageRole(str, Enum):
USER = "user"
ASSISTANT = "assistant"
SYSTEM = "system"
Expand Down Expand Up @@ -156,7 +156,7 @@ class ExtractedKnowledge(BaseModel):
supersedes: int | None = None # Index into numbered existing knowledge list


class ProcessStatus(StrEnum):
class ProcessStatus(str, Enum):
PENDING = "pending"
RUNNING = "running"
COMPLETED = "completed"
Expand Down
Loading