Skip to content

Clarify storage DB type and access methods #27

Description

@fernando-plank

but what's the type of database? how can i access the database?

Agent Context [ "The LangGraph application in this project, specifically `apps/open-swe`, uses the **default in-memory checkpointer** for storing threads and chat messages. This means that the data is **not persisted to a traditional database** and will be lost when the application restarts. There is no explicit database configuration (e.g., for PostgreSQL, SQLite, or MongoDB) found in `package.json`, `docker-compose.yml`, `render.yaml`, `env.example`, or the TypeScript files. The `StateGraph` instances in `apps/open-swe/src/graphs/**/*.ts` are initialized without any explicit `checkpointer` argument, which defaults to an in-memory solution according to LangGraph documentation. Therefore, direct database access is not possible in the current setup. To achieve persistence, a database like PostgreSQL would need to be set up, and a `PostgresCheckpointer` (or similar) would need to be configured and passed to the `StateGraph` instances." ]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions