Commit Graph

55 Commits

Author SHA1 Message Date
Robin Goetz
08124bdfa3 feat: expose cursor based retrieval of previous messages (#1140) 2024-03-12 09:38:01 -07:00
Charles Packer
c32439af63 feat: enable tool selection via agent creation POST (#1137) 2024-03-12 02:36:47 -07:00
Charles Packer
aceec389c2 feat: add in-context message field ('in_context') to message dicts returned by GET /api/agents/{a_id}/messages (#1135) 2024-03-11 23:02:00 -07:00
Sarah Wooders
c508acb9dc fix: modify metadata presets functions (#1132) 2024-03-11 16:32:50 -07:00
Charles Packer
6dc041711c fix: patch messages route + unify all the api/agents API routes to use {agent_id} via path parameter (#1129)
Co-authored-by: Robin Goetz <35136007+goetzrobin@users.noreply.github.com>
2024-03-11 14:30:58 -07:00
Charles Packer
e478c09ad3 feat: add list of sources (in dict format) to response object (#1128) 2024-03-11 13:30:38 -07:00
Charles Packer
c5c45b6145 feat: add memory data and tool data to list_agents function / GET /api/agents response (#1125) 2024-03-11 12:16:55 -07:00
Charles Packer
d1a22d0b69 feat: add a last_run field to the agent state model (#1124) 2024-03-10 18:06:00 -07:00
Charles Packer
d984daa3c4 feat: pass message UUIDs during message streaming (POST SSE send_message) (#1120) 2024-03-10 15:34:37 -07:00
Sarah Wooders
dc958bcd9e feat: Add data sources to REST API (#1118) 2024-03-10 14:34:35 -07:00
Charles Packer
e93d41b57a feat: add archival memory GET, POST, DEL to REST API (#1119) 2024-03-09 14:23:36 -08:00
Sarah Wooders
7b8fcd3a42 fix: bug with storing embedding info in metadata store (#1101) 2024-03-05 22:11:12 -08:00
Charles Packer
637cb9c2b4 feat: one time pass of autoflake + add autoflake to dev extras (#1097)
Co-authored-by: tombedor <tombedor@gmail.com>
2024-03-05 16:35:12 -08:00
Robin Goetz
3f5baeb402 fix: return uuid stored in config (#1092)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-03-05 14:34:51 -08:00
Sarah Wooders
40b23987ed feat: Update REST API routes GET information for agents/humans/personas and store humans/personas in DB (#1074) 2024-03-02 13:07:24 -08:00
Charles Packer
894cfcb0c5 feat: tests and bug fixes AgentState.state (#1058) 2024-02-29 20:51:31 -08:00
Sarah Wooders
12a55831ca feat: Add data loading and attaching to server (#1051) 2024-02-24 19:34:32 -08:00
Sarah Wooders
3b99151711 feat: Create RESTClient and Admin client for interacting with server from python (#1033) 2024-02-22 11:16:01 -08:00
Charles Packer
d64178655d fix: removed superfluous create_agent calls (#1000) 2024-02-19 10:13:41 -08:00
Sarah Wooders
4cdd9ee01f feat: refactor loading and attaching data sources, and upgrade to llama-index==0.10.6 (#1016) 2024-02-18 16:57:01 -08:00
Charles Packer
dd209a3132 feat: Add API keys to memgpt server REST API (#1014) 2024-02-16 13:14:35 -08:00
Sarah Wooders
10aa6097ad refactor: store presets in database via metadata store (#1013) 2024-02-15 18:49:16 -08:00
Sarah Wooders
bf252b90f0 feat: Partial support for OpenAI-compatible assistant API (#838) 2024-02-13 16:09:20 -08:00
tombedor
c8e8557c27 fix: set json loads strict to false (#946) 2024-01-31 15:50:08 -08:00
Charles Packer
82f339718c fix: resolve fatal attribute errors in pyright (#917) 2024-01-23 20:33:58 -08:00
Charles Packer
b425ec2c80 fix: out-of-order user message timestamp (#915) 2024-01-23 15:42:53 -08:00
tombedor
570dc2a893 fix: simplify user config (#904) 2024-01-22 19:25:03 -08:00
Charles Packer
ceb0bfe414 feat: add agent rename and agent delete to server + REST (#882) 2024-01-21 13:26:05 -08:00
starsnatched
4c95b7bde3 feat: Benchmark Command: memgpt benchmark (#816)
Co-authored-by: Starlette <starlette@Starlettes-MacBook-Pro.local>
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-21 00:57:01 -08:00
Charles Packer
6094726dfe fix: various fixes + make sure to save agent on creation to avoid missing agent_state.state entries (#877) 2024-01-20 17:28:39 -08:00
Robin Goetz
f285f8601e feat: Next iteration of ChatUI (#847)
Co-authored-by: Charles Packer <packercharles@gmail.com>
2024-01-20 16:28:31 -08:00
Charles Packer
da5a8cdbfe refactor: remove User LLM/embed. defaults, add credentials file, add authentication option for custom LLM backends (#835) 2024-01-18 16:11:35 -08:00
Sarah Wooders
2f7ccb1807 feat: Get in-context Message.id values from server (#851) 2024-01-18 12:42:55 -08:00
Charles Packer
c07746b097 refactor: Use Message types inside Agent state (agent.messages), enabling immediate tracking of Message objects (#836)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-01-17 17:02:56 -08:00
Sarah Wooders
9da53d1e1a fix: Remove usage of config.anon_clientid (#837) 2024-01-16 20:37:58 -08:00
Sarah Wooders
92bbf83fc9 feat: Cursor-based pagination for storage connectors and server (#830) 2024-01-16 14:45:20 -08:00
Sarah Wooders
f47e800982 feat: Add paginated memory queries (#825)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-15 21:21:58 -08:00
cpacker
646f0e8593 various patches related to UUID usernames to make chatui work 2024-01-15 18:09:25 -08:00
cpacker
41f9640364 fix: fixed the type hints in server to use uuid, patched tests that used strings as dummy users 2024-01-15 14:01:06 -08:00
cpacker
af3e3034ef fix: add type hints, drop stray User() creation 2024-01-15 13:27:47 -08:00
cpacker
27e07de808 fix: fixed bug on agent list with bad type 2024-01-15 13:15:13 -08:00
cpacker
6ed1d337c8 fix: comment out persistencemanager (deprecated as on main), convert str to UUID before querying 2024-01-15 11:40:27 -08:00
cpacker
3881ef6ab2 add base user (anonclientid) creation to the init of the server, add missing cast of user_id into User object 2024-01-15 11:31:24 -08:00
Charles Packer
350785e9f3 Merge branch 'main' into goetzrobin-chatui-rebased-on-main 2024-01-15 10:50:18 -08:00
ifsheldon
dd2f4fc873 fix: Turn off all ensure_ascii of json.dumps (#800) 2024-01-11 23:54:35 -08:00
robingotz
75a509a082 fix: remove hex usage to generate uuids and iron out inconsistencies with previous backend responses 2024-01-11 20:56:21 +01:00
robingotz
619921d97c fix: return agents instead of agent_names from server's list_agents function 2024-01-11 14:49:46 +01:00
Charles Packer
93a897b43c feat: another iteration of chat web UI (#648)
* autogenerate openapi file on server startup

* added endpoint for paginated retrieval of in-context agent messages

* missing diff

* added ability to pass system messages via message endpoint

* patched bad depends into queries to fix the param info not showing up in get requests, fixed some bad copy paste
2024-01-11 14:49:44 +01:00
Robin Goetz
b573e8cab1 feat: next iteration of chatui (#642)
* feat: add dark mode & make minor UI improvements

added dark mode toggle & picked a color scheme that is closer to the memgpt icons
cleaned up the home page a little bit.

* feat: add thinking indicator & make minor UI improvements

we now show a thinking while the current message is loading.
removed status indicator as we do not work with websockets anymore.
also adjusted some of the chat styles to better fit the new theme.

* feat: add memory viewer and allow memory edit

* chore: build frontend
2024-01-11 14:47:51 +01:00
Sarah Wooders
35aa6b46b4 cleanup source loading code 2024-01-09 19:19:18 -08:00