Commit Graph

17 Commits

Author SHA1 Message Date
Robin Goetz
16fa71b88e feat: move agent_id from query param to path variable and remove unus… (#1094)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-03-05 14:28:03 -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
Robin Goetz
e0e031795a feat: allow admin to access all API routes & add back auth (#1047) 2024-02-25 07:16:45 -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
dd209a3132 feat: Add API keys to memgpt server REST API (#1014) 2024-02-16 13:14:35 -08:00
Charles Packer
6e8ef97025 docs: Update config.py (#886) 2024-01-21 13:38:13 -08:00
Charles Packer
7209a360bd docs: Update config.py (#885) 2024-01-21 13:34:54 -08:00
Charles Packer
ceb0bfe414 feat: add agent rename and agent delete to server + REST (#882) 2024-01-21 13:26:05 -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
cpacker
646f0e8593 various patches related to UUID usernames to make chatui work 2024-01-15 18:09:25 -08:00
robingotz
60f208c172 fix: add uuid import 2024-01-11 21:05:00 +01: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
Robin Goetz
55f610bec1 feat: Next iteration of chatui (#652)
* feat: new iteration of chatui - beware it is still buggy

added some error handling, but I believe this still needs a lot of improvements.
added timestamps for when messages are sent.
when changing to a new agent the agent initiates the conversation.
persisting messages for now. Storing them in localstorage so users can see their
history and don't lose it on reload. replacing this with intelligent fetching asap.

* chore: build frontend
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
Charles Packer
83973ecfc8 feat: Update REST API (#647)
* adding docstrings + pydantic models to rest api for autogenerating the openapi documentation

* add tags to all endpoitns

* updated docstrings, added response type, patched runtime error
2024-01-11 14:48:10 +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
Robin Goetz
39ada91fe7 feat: next iteration of chat ui (#637)
* feat: add loading indicator when creating new agent

* feat: reorder front page to avoid overflow and always show add button

* feat: display function calls

* feat: set up proxy during development & remove explicit inclusion of host/port in backend calls

* fix: introduce api prefix, split up fastapi server to become more modular, use app directly instead of subprocess

the api prefix allows us to create a proxy for frontend development that relays all /api
requests to our fastapi, while serving the development files for other paths.
splitting up the fastapi server will allow us to branch out and divide up the work better
in the future. using the application directly in our cli instead of a subprocess makes
debugging a thing in development and overall this python native way just seems cleaner.
we can discuss if we should keep the api prefix or if we should distinguish between a REST only
mode and one that also serves the static files for the GUI.
This is just my initial take on things

* chore: build latest frontend
2024-01-11 14:47:51 +01:00