mlong93
36a296078c
chore: removed agent_store, storage connectors ( #2229 )
...
Co-authored-by: Mindy Long <mindy@letta.com>
2024-12-11 15:14:26 -08:00
Sarah Wooders
65702c8c93
feat: add print for sqlite error ( #2221 )
2024-12-10 19:23:48 -08:00
mlong93
31d2774193
feat: orm passage migration ( #2180 )
...
Co-authored-by: Mindy Long <mindy@letta.com>
2024-12-10 18:09:35 -08:00
Charles Packer
c9c2cca4f4
fix: create new request model that drops user_id ( #2220 )
2024-12-10 16:11:47 -08:00
Sarah Wooders
ac8bd80d1b
feat: modify REST API schemas ( #2121 )
2024-12-10 16:10:34 -08:00
Charles Packer
7472a3d9cf
fix: make healthcheck public ( #2209 )
2024-12-10 14:02:05 -08:00
Charles Packer
7f85a0315b
fix: cleanup error trace for no llm/embedding_config on POST ( #2218 )
2024-12-10 14:00:31 -08:00
Shubham Naik
61f8a15a1b
feat: add files ( #2210 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-12-10 13:37:21 -08:00
Shubham Naik
af127b8d4c
feat: support local https mode ( #2217 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-12-10 13:36:20 -08:00
cthomas
ab1b440565
feat: add logs to response for tool run ( #2205 )
...
Co-authored-by: Caren Thomas <caren@caren-mac.local>
2024-12-10 13:24:05 -08:00
Charles Packer
6ca8bfa854
fix: re-enable streaming tokens ( #2193 )
2024-12-10 11:55:15 -08:00
Kevin Lin
415163fb75
fix: allow empty initial message sequence ( #2214 )
2024-12-10 11:27:35 -08:00
Matthew Zhou
666e4259cf
fix: Modify the list
ORM function ( #2208 )
2024-12-09 19:35:58 -08:00
Charles Packer
85a9046c63
feat: add an async messages route (/agent/{agent_id}/messages/async
) ( #2206 )
2024-12-09 18:23:05 -08:00
Charles Packer
fd597055b7
fix: patch Dockerfile
for purpose of docker run
( #2177 )
2024-12-09 15:03:11 -08:00
Sarah Wooders
fd35339754
feat: error stack trace capture ( #2203 )
2024-12-09 13:27:52 -08:00
Charles Packer
b1015c0679
fix: add a special error type for configuration errors ( #2198 )
2024-12-08 17:04:04 -08:00
Matthew Zhou
9b339efaec
fix: Updating messages ( #2186 )
2024-12-07 14:09:20 -08:00
Charles Packer
3ee3793a4f
fix: temp disable stream tokens ( #2189 )
2024-12-07 12:52:51 -08:00
Matthew Zhou
14d1009d15
fix: Fix composio tool add ( #2188 )
2024-12-07 12:18:17 -08:00
Shubham Naik
d2f60b804a
chore: drop ade flag ( #2185 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-12-07 10:47:32 -08:00
Shubham Naik
b7105a2e37
chore: add new ui ( #2182 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-12-06 19:56:02 -08:00
Charles Packer
d0ad9bddd9
fix: fix runtime warnings with the server ( #2178 )
2024-12-06 13:05:30 -08:00
mlong93
d71f435fea
feat: message orm migration ( #2144 )
...
Co-authored-by: Mindy Long <mindy@letta.com>
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2024-12-06 11:50:15 -08:00
mlong93
a01f1fd5d3
feat: orm ToolsAgents migration ( #2173 )
...
Co-authored-by: Mindy Long <mindy@letta.com>
2024-12-05 17:47:22 -08:00
Shubham Naik
e7f7286f28
feat: add sentry logging (optional) ( #2172 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-12-05 16:07:34 -08:00
Shubham Naik
202bb320b6
chore: add deprecation notice to dev portal ( #2171 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-12-05 14:46:34 -08:00
Kevin Lin
0b07a4005b
feat: offline memory agent ( #2036 )
...
Co-authored-by: Kevin Lin <kevinlin@Kevins-MacBook-Pro.local>
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-12-05 14:27:19 -08:00
Charles Packer
92b0f204f2
fix: patch system message creation spam ( #2169 )
...
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-12-05 11:52:51 -08:00
Matthew Zhou
18453ddadd
chore: Migrate jobs to the orm ( #2165 )
2024-12-04 18:11:06 -08:00
Sarah Wooders
38168f8b62
fix: support initializing with custom message sequences ( #2154 )
2024-12-04 13:25:57 -08:00
Matthew Zhou
01afe75844
feat: Support external codebases as a tool execution sandbox ( #2159 )
2024-12-04 11:37:51 -08:00
Charles Packer
444f0f1095
fix: patch bug in pydantic request model for /v1/tools/run
( #2152 )
2024-12-03 16:13:38 -08:00
Sarah Wooders
a12e0b7569
feat: pass custom headers to RESTClient
( #2151 )
2024-12-03 16:02:29 -08:00
Charles Packer
9417b1162e
feat: add POST route for testing tool execution via tool_id
( #2139 )
2024-12-02 18:57:04 -08:00
Matthew Zhou
2f142a31b2
feat: Add lock around loading agent ( #2141 )
2024-12-02 17:46:48 -08:00
Matthew Zhou
aa9dda5c26
feat: Add endpoints to list Composio apps and actions ( #2140 )
2024-12-02 15:36:10 -08:00
Matthew Zhou
e5aa5d18d1
feat: Add endpoints to add default e2b/local sandbox configs ( #2138 )
2024-12-02 14:58:11 -08:00
Charles Packer
aa36ee2142
fix: allow setting pass for server --secure
( #2132 )
2024-12-01 21:35:31 -08:00
Charles Packer
d2b9df8416
fix: update url ( #2124 )
2024-11-30 09:32:47 -08:00
Sarah Wooders
d30972cee0
feat: refactor agent memory representation and modify routes for editing blocks ( #2094 )
...
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2024-11-27 16:04:13 -08:00
Matthew Zhou
536c907c13
fix: Remove hard failure on bad stream_tokens
input ( #2115 )
2024-11-27 15:00:42 -08:00
Matthew Zhou
f23d436e76
feat: Separate out streaming route ( #2111 )
2024-11-27 14:03:46 -08:00
Charles Packer
c2b41f75ce
fix: pass tool errors through the HTTP POST /tools
requests with detailed error messages ( #2110 )
2024-11-26 17:06:44 -08:00
Matthew Zhou
c2ee91c939
feat: Add per-agent locking to send message ( #2109 )
2024-11-26 13:30:58 -08:00
Matthew Zhou
80d0748294
chore: Change create_tool endpoint on v1 routes to error instead of upsert ( #2102 )
2024-11-25 10:46:15 -08:00
Matthew Zhou
251619eb16
feat: Make blocks agents mapping table ( #2103 )
2024-11-22 16:27:47 -08:00
Matthew Zhou
ae083fc205
feat: Sandboxing for tool execution ( #2040 )
...
Co-authored-by: Caren Thomas <carenthomas@Jeffs-MacBook-Pro-2.local>
Co-authored-by: Caren Thomas <carenthomas@jeffs-mbp-2.lan>
Co-authored-by: Caren Thomas <carenthomas@Jeffs-MBP-2.hsd1.ca.comcast.net>
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-11-22 10:34:08 -08:00
Charles Packer
43e3961d3b
fix: redo #2085 ( #2087 )
2024-11-21 20:19:22 -08:00
Charles Packer
b7b22a670f
feat: routes for adding/linking new memory blocks to agents + unlinking blocks from agents ( #2083 )
2024-11-21 20:08:47 -08:00
Charles Packer
385aed9802
Revert "feat: add route for editing a memory blocks limit (via Memory
, instead of via Blocks
)" ( #2085 )
2024-11-21 20:08:17 -08:00
Charles Packer
4c6743291f
feat: add route for editing a memory blocks limit (via Memory
, instead of via Blocks
) ( #2084 )
2024-11-21 19:52:08 -08:00
Sarah Wooders
acf4bb86ff
test: add test for pip install on python 3.10, 3.11, and 3.12 and remove crewAI tools ( #2082 )
2024-11-21 19:50:35 -08:00
Kevin Lin
97eb3f85bf
fix: shared memory without requiring send message ( #2068 )
2024-11-21 13:58:03 -08:00
Matthew Zhou
1ce7aa5b8f
fix: Add save agents ( #2080 )
2024-11-21 09:53:30 -08:00
Sarah Wooders
37d700a6d6
feat: allow passing in tags to client.create_agent(tags=[..])
( #2073 )
2024-11-20 12:12:14 -08:00
Matthew Zhou
746efc4c06
fix: Fix security vuln with file upload ( #2067 )
2024-11-19 17:07:04 -08:00
Matthew Zhou
31bf67cfc0
feat: Move blocks to ORM model ( #1980 )
...
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-11-19 11:32:33 -08:00
Charles Packer
05045debc9
feat: support togetherAI via /completions
( #2045 )
2024-11-18 15:15:05 -08:00
Matthew Zhou
6d6ee93458
fix: Fix bug for deleting agents belonging to the user org ( #2033 )
2024-11-13 12:37:31 -08:00
Matthew Zhou
151ce6f655
chore: Migrate FileMetadata to ORM ( #2028 )
2024-11-13 10:59:46 -08:00
Shubham Naik
266df8b72e
feat: support a new secure flag ( #2030 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-11-12 21:34:36 -08:00
Matthew Zhou
5221bf610e
feat: Move Source to ORM model ( #1979 )
2024-11-12 09:57:40 -08:00
Sarah Wooders
b2dd1eac5d
feat: modify startup.sh
to work for sqlite ( #2012 )
2024-11-07 13:23:03 -08:00
Shubham Naik
9c1b0d3bf7
feat: add bash script to allow people to generate openapi schema with… ( #2015 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-11-07 11:17:09 -08:00
Shubham Naik
e5c194b1cc
chore: add endpoint to update users ( #1993 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-11-06 19:12:06 -08:00
Matthew Zhou
79582b9f1e
chore: Continue relaxing tool constraints ( #1999 )
2024-11-06 18:39:10 -08:00
Matthew Zhou
a61a507967
fix: no error when the tool name is invalid in agent state ( #1997 )
2024-11-06 17:10:42 -08:00
Sarah Wooders
b990e8b3af
Revert "fix: Resync agents when tools are missing" ( #1996 )
2024-11-06 16:36:58 -08:00
Matthew Zhou
9e34ba6289
fix: Resync agents when tools are missing ( #1994 )
2024-11-06 16:35:39 -08:00
Matthew Zhou
dca47fc1e4
feat: Add ability to add tags to agents ( #1984 )
2024-11-06 16:16:23 -08:00
Sarah Wooders
19dfb2ce7d
fix: fix issue with linking tools and adding new tools ( #1988 )
...
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2024-11-06 14:06:10 -08:00
Charles Packer
75b866fa86
feat: add convenience link to open ADE from server launch ( #1986 )
2024-11-06 10:21:43 -08:00
Sarah Wooders
9cf16b2cfd
feat: add ability to list agents by name
for REST API and python SDK ( #1982 )
2024-11-05 17:31:40 -08:00
Matthew Zhou
46753b7357
chore: Move ID generation logic out of the ORM layer and into the Pydantic model layer ( #1981 )
2024-11-05 17:05:10 -08:00
Charles Packer
a5e9f7da4e
feat: added ability to disable the initial message sequence during agent creation ( #1978 )
2024-11-04 16:03:52 -08:00
Sarah Wooders
edebfc129f
feat: rename block.name
to block.template_name
for clarity and add shared block tests ( #1951 )
...
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2024-11-04 11:49:16 -08:00
Matthew Zhou
5ccb1eba9b
feat: Add endpoint to add base tools to an org ( #1971 )
2024-11-01 15:42:43 -07:00
Shubham Naik
6be787ea86
chore: fix lettaresponse ( #1968 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-11-01 14:00:02 -07:00
Charles Packer
e7b2c95df3
fix: fix bug with POST /v1/agents/messages
route returning empty LettaMessage
base objects ( #1966 )
2024-10-31 16:57:50 -07:00
Shubham Naik
bd0df4fda8
chore: add migration script ( #1960 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-10-31 11:04:46 -07:00
Shubham Naik
0d09a0e44a
fix: math renderer error ( #1965 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-10-31 10:35:46 -07:00
Matthew Zhou
d6826875c2
feat: Implement tool calling rules for agents ( #1954 )
2024-10-30 16:53:41 -07:00
Matthew Zhou
103508b832
feat: Auto-refresh json_schema
after tool update ( #1958 )
2024-10-30 15:05:08 -07:00
Shubham Naik
960d31143a
chore: fix markdown error ( #1957 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-10-30 15:04:51 -07:00
Matthew Zhou
85d72284f2
fix: Fix create organization bug ( #1956 )
2024-10-30 13:55:48 -07:00
Charles Packer
a27819940e
feat: added returning usage data ( #1955 )
2024-10-29 18:08:10 -07:00
Matthew Zhou
c372234f13
fix: Clean up some legacy code and fix Groq provider ( #1950 )
2024-10-28 14:13:11 -07:00
Sarah Wooders
9302c56933
feat: move docker run command to use port 8283 ( #1949 )
2024-10-28 13:57:30 -07:00
Matthew Zhou
0768b96093
feat: Enable base constructs to automatically populate "created_by" and "last_updated_by" fields for relevant objects ( #1944 )
2024-10-28 11:04:17 -07:00
Sarah Wooders
0a717190c1
fix: fix inconsistent name and label usage for blocks to resolve recursive validation issue ( #1937 )
2024-10-25 18:01:33 -07:00
Matthew Zhou
6b330d7376
feat: Add orm for Tools and clean up Tool logic ( #1935 )
2024-10-25 14:25:40 -07:00
Matthew Zhou
659c64ebd8
fix: Fix letta delete-agent
( #1940 )
2024-10-25 13:15:36 -07:00
Sarah Wooders
3b1210f69b
fix: fix core memory heartbeat issue ( #1929 )
2024-10-23 12:22:37 -07:00
Matthew Zhou
5253b0475e
feat: Add ORM for user model ( #1924 )
2024-10-23 10:28:00 -07:00
Charles Packer
588261e210
fix: fix bug triggered by using ada embeddings ( #1915 )
2024-10-22 16:42:02 -07:00
Matthew Zhou
ab3431f56a
feat: Add ORM for organization model ( #1914 )
2024-10-22 14:47:09 -07:00
Charles Packer
eb6a1997a4
feat: fix streaming put_inner_thoughts_in_kwargs
( #1913 )
2024-10-21 17:07:20 -07:00
Charles Packer
cf5d9347d0
feat: add function IDs to LettaMessage
function calls and response ( #1909 )
2024-10-19 21:47:48 -07:00
Matthew Zhou
61db7588ce
feat: Add pagination for list tools ( #1907 )
...
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-18 15:19:45 -07:00
Charles Packer
180bbfe8a7
feat: add functions to get context window overview ( #1903 )
2024-10-18 14:29:28 -07:00
Matthew Zhou
fc3d4e1684
feat: Add endpoint to get full Tool objects belonging to an agent ( #1906 )
...
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-18 14:25:00 -07:00
Kevin Lin
0249d82454
feat: prompting O1 ( #1891 )
...
Co-authored-by: Kevin Lin <kevinlin@Kevins-MacBook-Pro.local>
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
Co-authored-by: cpacker <packercharles@gmail.com>
2024-10-17 15:55:50 -07:00
Matthew Zhou
960303615d
feat: Add default external tools ( #1899 )
...
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-17 10:26:37 -07:00
Shubham Naik
3ee80694ee
chore: fixes tool bug ( #1898 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-10-16 11:57:51 -07:00
Matthew Zhou
174f31b32b
fix: Fix updating tools ( #1886 )
...
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-15 16:51:18 -07:00
Sarah Wooders
2187228576
feat: add support for agent "swarm" (multi-agent) ( #1878 )
2024-10-15 15:50:47 -07:00
Matthew Zhou
cd51bca3c3
feat: Add delete file from source endpoint ( #1893 )
...
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-15 15:35:58 -07:00
Charles Packer
cca1cb8bf0
feat: add GET
route to get the breakdown of an agent's context window ( #1889 )
2024-10-15 13:32:37 -07:00
Charles Packer
4fd82ee81a
refactor: make Agent.step()
multi-step ( #1884 )
2024-10-15 13:32:13 -07:00
Shubham Naik
94d2a18c27
chore: update devportal to comply with new memgpt api ( #1880 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-10-14 18:37:00 -07:00
Sarah Wooders
416b36a92c
fix: add groq provider when env variable is set ( #1881 )
2024-10-14 18:11:51 -07:00
Charles Packer
6fc2fee04a
feat: refactor the POST
agent/messages
API to take multiple messages ( #1882 )
2024-10-14 13:29:07 -07:00
Matthew Zhou
9b347690d8
feat: Enable adding files ( #1864 )
...
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-14 10:22:45 -07:00
Charles Packer
cc616ef831
refactor: simplify Agent.step
inputs to Message
or List[Message]
only ( #1879 )
2024-10-13 17:30:46 -07:00
Charles Packer
1842fd1f15
fix: patch errors with OllamaProvider
( #1875 )
2024-10-12 20:19:20 -07:00
Sarah Wooders
32fbd71467
feat: add VLLMProvider
( #1866 )
...
Co-authored-by: cpacker <packercharles@gmail.com>
2024-10-11 15:58:12 -07:00
Shubham Naik
8fc8c55f14
chore: support alembic ( #1867 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-10-11 15:51:14 -07:00
Sarah Wooders
eb1aab1fc7
chore: fix branch ( #1865 )
2024-10-10 14:07:45 -07:00
Sarah Wooders
e3c22f139d
fix: delete agent-source mapping on detachment and add test ( #1862 )
2024-10-09 17:26:28 -07:00
Sarah Wooders
e094e18580
chore: deprecate letta configure
and remove config defaults ( #1841 )
...
Co-authored-by: cpacker <packercharles@gmail.com>
2024-10-09 14:32:08 -07:00
Matthew Zhou
4bda0a2dc9
fix: remove testing print ( #1849 )
...
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-08 15:20:55 -07:00
Matthew Zhou
f61ac27800
feat: Add listing llm models and embedding models for Azure endpoint ( #1846 )
...
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-08 15:14:55 -07:00
Matthew Zhou
a2d1d9e5ee
test: add complex testing for Groq Llama 3.1 70b ( #1845 )
...
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-08 14:22:13 -07:00
Vivek Verma
90a1e3b438
feat: add agent types ( #1831 )
2024-10-08 11:18:36 -07:00
Charles Packer
4a01ca3a55
fix: patch user_id
in header ( #1843 )
2024-10-08 10:21:07 -07:00
Matthew Zhou
7be60fcf0f
fix: Fix Azure provider and add complex e2e testing ( #1842 )
...
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-07 17:59:06 -07:00
Charles Packer
a959e63d5b
refactor: remove get_current_user
and replace with direct header read ( #1834 )
2024-10-07 15:23:08 -07:00
Sarah Wooders
d631cec3d6
feat: require LLMConfig
and EmbeddingConfig
to be specified for agent creation + allow multiple simultaneous provider configs for server ( #1814 )
...
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com>
Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-10-04 19:35:00 -07:00
Matthew Zhou
28917bd139
feat: Set up code scaffolding for complex e2e tests and write tests for OpenAI GPT4 endpoint ( #1827 )
2024-10-04 16:56:43 -07:00
Shubham Naik
72ee11ff08
chore: allow app.letta.com access to local if user grants permission ( #1830 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-10-04 16:45:04 -07:00
Matt Zhou
692c7897a2
Edit workflows
2024-10-04 16:18:42 -07:00
Charles Packer
896d52b15c
feat: add back support for using AssistantMessage
subtype of LettaMessage
( #1812 )
2024-10-04 15:36:33 -07:00
Matt Zhou
fd905e0bee
Add printed out responses for easier debugging from tests
2024-10-04 15:19:40 -07:00
Shubham Naik
c0dc4a8f9f
chore: add health check route
2024-10-02 16:16:05 -07:00
Shubham Naik
4f7658e138
feat: add health check route
2024-10-02 16:13:23 -07:00
Shubham Naik
2502011bda
chore: update static files ( #1811 )
...
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-10-01 11:51:23 -07:00
Sarah Wooders
95430e3d69
fix: remove usage of anon_clientid
and migrate to DEFAULT_USER
( #1805 )
2024-09-30 17:56:28 -07:00
Sarah Wooders
f696347f51
fix: use JSON schema name instead of tool name for loading from env ( #1798 )
2024-09-30 09:24:10 -07:00
Sarah Wooders
10cb0c118b
feat: support detaching sources from agents ( #1791 )
2024-09-25 15:18:46 -07:00
Sarah Wooders
14a159b09b
feat: allow jobs to be filtered by source_id
( #1786 )
2024-09-25 15:13:14 -07:00
Sarah Wooders
dda63c4d51
fix: various fixes for workflow tests ( #1788 )
2024-09-25 13:58:21 -07:00
Sarah Wooders
85faf5f474
chore: migrate package name to letta
( #1775 )
...
Co-authored-by: Charles Packer <packercharles@gmail.com>
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-09-23 09:15:18 -07:00