* init server refactor
* refactored websockets server/client code to use internal server API
* added intentional fail on test
* update workflow to try and get test to pass remotely
* refactor to put websocket code in a separate subdirectory
* added fastapi rest server
* add error handling
* modified interface return style
* disabled certain tests on remote
* added SSE response option for user_message
* fix ws interface test
* fallback for oai key
* add soft fail for test when localhost is borked
* add step_yield for all server related interfaces
* extra catch
* update toml + lock with server add-ons (add uvicorn+fastapi, move websockets to server extra)
* regen lock file
* added pytest-asyncio as an extra in dev
* add pydantic to deps
* renamed CreateConfig to CreateAgentConfig
* fixed POST request for creating agent + tested it
* softpass test when keys are missing
* update to use local model
* both openai and local
* typo
* fix
* Specify model inference and embedding endpoint separately (#286)
* Fix config tests (#343)
Co-authored-by: Vivian Fang <hi@vivi.sh>
* Avoid throwing error for older `~/.memgpt/config` files due to missing section `archival_storage` (#344)
* avoid error if has old config type
* Dependency management (#337)
* Divides dependencies into `pip install pymemgpt[legacy,local,postgres,dev]`.
* Update docs
* Relax verify_first_message_correctness to accept any function call (#340)
* Relax verify_first_message_correctness to accept any function call
* Also allow missing internal monologue if request_heartbeat
* Cleanup
* get instead of raw dict access
* Update `poetry.lock` (#346)
* mark depricated API section
* add readme
* add readme
* add readme
* add readme
* add readme
* add readme
* add readme
* add readme
* add readme
* CLI bug fixes for azure
* check azure before running
* Update README.md
* Update README.md
* bug fix with persona loading
* remove print
* make errors for cli flags more clear
* format
* fix imports
* fix imports
* add prints
* update lock
* Add autogen example that lets you chat with docs (#342)
* Relax verify_first_message_correctness to accept any function call
* Also allow missing internal monologue if request_heartbeat
* Cleanup
* get instead of raw dict access
* Support attach in memgpt autogen agent
* Add docs example
* Add documentation, cleanup
* add gpt-4-turbo (#349)
* add gpt-4-turbo
* add in another place
* change to 3.5 16k
* Revert relaxing verify_first_message_correctness, still add archival_memory_search as an exception (#350)
* Revert "Relax verify_first_message_correctness to accept any function call (#340)"
This reverts commit 30e911057d755f5946d7bc2ba54619b5f2e08dc3.
* add archival_memory_search as an exception for verify
* Bump version to 0.1.18 (#351)
* Remove `requirements.txt` and `requirements_local.txt` (#358)
* update requirements to match poetry
* update with extras
* remove requirements
* disable pretty exceptions (#367)
* Updated documentation for users (#365)
---------
Co-authored-by: Vivian Fang <hi@vivi.sh>
* Create pull_request_template.md (#368)
* Create pull_request_template.md
* Add pymemgpt-nightly workflow (#373)
* Add pymemgpt-nightly workflow
* change token name
* Update lmstudio.md (#382)
* Update lmstudio.md
* Update lmstudio.md
* Update lmstudio.md to show the Prompt Formatting Option (#384)
* Update lmstudio.md to show the Prompt Formatting Option
* Update lmstudio.md Update the screenshot
* Swap asset location from #384 (#385)
* Update poetry with `pg8000` and include `pgvector` in docs (#390)
* Allow overriding config location with `MEMGPT_CONFIG_PATH` (#383)
* Always default to local embeddings if not OpenAI or Azure (#387)
* Add support for larger archival memory stores (#359)
* Replace `memgpt run` flags error with warning + remove custom embedding endpoint option + add agent create time (#364)
* Update webui.md (#397)
turn emoji warning into markdown warning
* Update webui.md (#398)
* dont hard code embeddings
* formatting
* black
* add full deps
* remove changes
* update poetry
---------
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
Co-authored-by: Vivian Fang <hi@vivi.sh>
Co-authored-by: MSZ-MGS <65172063+MSZ-MGS@users.noreply.github.com>
* make tests dummy to make sure github workflow is fine
* black test
* strip circular import
* further dummy-fy the test
* use pexpect
* need y
* Update tests.yml
* Update tests.yml
* added prints
* sleep before decode print
* updated test to match legacy flow
* revising test where it fails
* comment out enter your message check for now, pexpect seems to be stuck on only setting the bootup message
* weird now it's not showing Bootup sequence complete?
* added debug
* handle none
* allow more time
* loosen string check
* add enter after commands
* modify saved compontent snippet
* add try again check
* more sendlines
* more excepts
* test passing locally
* Update tests.yml
* dont clearline
* add EOF catch that seems to only happen on github actiosn (ubuntu) but not macos
* more eof
* try flushing
* add strip_ui flag
* fix archival_memory_search and memory print output
* Don't use questionary for input if strip_ui
* Run black
* Always strip UI if TEST is set
* Add another flush
* expect Enter your message
* more debug prints
* one more shot at printing debug info
* stray fore color in stripped ui
* tests pass locally
* cleanup
---------
Co-authored-by: Vivian Fang <hi@vivi.sh>