Skip to content

Releases: letta-ai/letta

0.3.9

11 Apr 02:53
9ffa003
Compare
Choose a tag to compare

This PR add Google AI Gemini Pro support for MemGPT, as well as Python 3.12 support.

Using MemGPT with Gemini

Setting up Gemini with MemGPT configure:

> memgpt configure
Loading config from /Users/loaner/.memgpt/config
? Select LLM inference provider: google_ai
? Enter your Google AI (Gemini) API key (see https://aistudio.google.com/app/a
pikey): *********
? Enter your Google AI (Gemini) service endpoint (see https://ai.google.dev/api/rest): generativelanguage
? Select default model: gemini-pro
Got context window 30720 for model gemini-pro (from Google API)
? Select your model's context window (see https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versioning#gemini-model-versions): 30720
? Select embedding provider: openai
? Select default preset: memgpt_chat
? Select default persona: sam_pov
? Select default human: basic
? Select storage backend for archival data: chroma
? Select chroma backend: persistent
? Select storage backend for recall data: sqlite
📖 Saving config to /Users/loaner/.memgpt/config

What's Changed

Full Changelog: 0.3.8...0.3.9

0.3.8

03 Apr 20:10
fb2d78f
Compare
Choose a tag to compare

This release introduces initial support for running a MemGPT server with Docker Compose, and bugfixes for storing embeddings and message timestamps.

What's Changed

New Contributors

Full Changelog: 0.3.7...0.3.8

0.3.7

21 Mar 05:06
d695ff5
Compare
Choose a tag to compare

🦂 Bugfix release

What's Changed

  • feat: add example for google search custom function by @sarahwooders in #1133
  • feat: add in-context message field ('in_context') to message dicts returned by GET /api/agents/{a_id}/messages by @cpacker in #1135
  • docs: update connector documentation by @sarahwooders in #1136
  • feat: enable tool selection via agent creation POST by @cpacker in #1137
  • feat: add (dummy) create tool route by @cpacker in #1139
  • feat: expose cursor based retrieval of previous messages by @goetzrobin in #1140
  • fix: fix key typo when getting archival memory response by @goetzrobin in #1141
  • fix: correct dummy tools api call response by @goetzrobin in #1142
  • fix: patch agent creation bug that resurfaced by @cpacker in #1143
  • fix: fix existing agent listing for CLI by @sarahwooders in #1146
  • docs: Update api.md by @serkanh in #1158
  • feat: implement remaining Admin routes in client and add tests by @sarahwooders in #1157
  • fix: (1) refactor in Agent.step() to fix out-of-order timestamps, (2) bug fixes with usage of preset/human vs filename values by @cpacker in #1145
  • feat: during agent creation - create new presets in the DB if the preset had overrides by @cpacker in #1159
  • feat: Allow timestamp in send_message POST by @cpacker in #1161
  • fix: fix azure credential configuration by @xavieryao in #1152
  • feat: add remaining Python client support for REST API routes + tests by @sarahwooders in #1160
  • feat: return source metadata with list sources route by @cpacker in #1164
  • feat: add google search example by @sarahwooders in #1167
  • fix: write temporary file for REST upload file endpoint + return number added passages/documents by @sarahwooders in #1169
  • feat: add Preset routes to API + patch for tool_call_id max length OpenAI error by @cpacker in #1165
  • feat: move source_id to path variable by @cpacker in #1171
  • feat: return information on attached agents when getting list of sources from API by @cpacker in #1172
  • chore: bump version to 0.3.7 by @cpacker in #1173

New Contributors

Full Changelog: 0.3.6...0.3.7

0.3.6

11 Mar 23:49
237a96b
Compare
Choose a tag to compare

🐜 bugfix release

What's Changed

  • fix: patch API key GET error + allow empty body on create user POST by @cpacker in #1113
  • fix: silence pydantic warning about protected namespace by @cpacker in #1116
  • feat: add metadata to GET tools route by @cpacker in #1117
  • feat: add archival memory GET, POST, DEL to REST API by @cpacker in #1119
  • feat: Add data sources to REST API by @sarahwooders in #1118
  • feat: pass message UUIDs during message streaming (POST SSE send_message) by @cpacker in #1120
  • fix: small typing fixes by @cpacker in #1123
  • fix: fix bugs for retrieving archival memory via REST API + tests by @sarahwooders in #1122
  • feat: add a last_run field to the agent state model by @cpacker in #1124
  • fix: patch bug where the contents of the persona/human files were not gett… by @cpacker in #1126
  • feat: add memory data and tool data to list_agents function / GET /api/agents response by @cpacker in #1125
  • feat: add list of sources (in dict format) to response object by @cpacker in #1128
  • fix: patch messages route + unify all the api/agents API routes to use {agent_id} via path parameter by @cpacker in #1129
  • fix: use bookworm version of python image to resolve sqllite/chroma i… by @goetzrobin in #1130
  • feat: enable adding presets via the CLI by @sarahwooders in #1131
  • fix: modify metadata presets functions by @sarahwooders in #1132
  • feat: added persona/human_name fields to Preset by @cpacker in #1134
  • chore: bump version to 0.3.6 by @cpacker in #1114

Full Changelog: 0.3.5...0.3.6

0.3.5

06 Mar 06:12
e6ffbc2
Compare
Choose a tag to compare

🦗 Bugfix release

What's Changed

New Contributors

Full Changelog: 0.3.4...0.3.5

0.3.4

01 Mar 04:57
acb73dc
Compare
Choose a tag to compare

🐝 Bugfix release

What's Changed

New Contributors

Full Changelog: 0.3.3...0.3.4

0.3.3

19 Feb 00:56
508679e
Compare
Choose a tag to compare

Minor bugfix release

What's Changed

Full Changelog: 0.3.2...0.3.3

0.3.2

13 Feb 01:18
05bd1e4
Compare
Choose a tag to compare

🐞 Bugfix release

What's Changed

  • fix: Automatically create User from MemGPTConfig.anon_clientid from client if does not exist by @sarahwooders in #981
  • fix: various patches for Azure support + strip Box by @cpacker in #982
  • fix: patch bug in verify first message + add ChatCompletionRequest models to the models dir by @cpacker in #985
  • docs: Fix client README example by @sarahwooders in #984
  • fix: only attempt to mount static files dir (for chatUI) if already generated by @cpacker in #991
  • fix: allow multiple tools to be called by LLM and rewrite request by @cpacker in #992
  • fix: patch bug in airo wrapper by @cpacker in #993
  • fix: Chunk inserts into DB on CLI load by @sarahwooders in #994
  • chore: bump to version 0.3.2 by @sarahwooders in #995
  • fix: Modify chroma to use collection.upsert instead of collection.add for inserts by @sarahwooders in #996

Full Changelog: 0.3.1...0.3.2

0.3.1

09 Feb 04:49
68a92ce
Compare
Choose a tag to compare

🐛 Bugfix release

🚧 What's Changed

👋 New Contributors

✍️ Full Changelog: 0.3...0.3.1

0.3

30 Jan 04:17
330b199
Compare
Choose a tag to compare
0.3

This release is a major refactor of MemGPT which moves all agent, user, and system information into database storage. We implemented this refactor to enable people to run MemGPT has a hosted service that can support multiple users. You can still keep using MemGPT's CLI, but your data will be stored in local sqlite and chroma files (unless configured otherwise).

🚌 Migrating to 0.3

MemGPT will no longer be able to access existing agents and data sources unless they are migrated. You can migrate old agent state and and data sources contained in the ~/.memgpt/config folder using the memgpt migrate command.

> memgpt migrate 

🌐 MemGPT Server

You can now run MemGPT as a service that can support multiple users. User authentication is coming soon which will make the server usable for production applications.

You can run the server with:

> memgpt server

INFO:     Started server process [53568]
INFO:     Waiting for application startup.
Writing out openapi.json file
INFO:     Application startup complete.
INFO:     Uvicorn running on http://localhost:8283 (Press CTRL+C to quit)

👋 New Contributors

Full Changelog: 0.2.11...0.3