* don't add anything except for assistant messages to the global autogen message historoy
* properly format autogen messages when using local llms (allow naming to get passed through to the prompt formatter)
* add extra handling of autogen's name field in step()
* comments
* Update autogen.md
* in groupchat example add an azure elif
* fixed missing azure mappings + corrected the gpt-4-turbo one
* Updated MemGPT AutoGen agent to take credentials and store them in the config (allows users to use memgpt+autogen without running memgpt configure), also patched api_base kwarg for autogen >=v0.2
* add note about 0.2 testing
* added overview to autogen integration page
* default examples to openai, sync config header between the two main examples, change speaker mode to round-robin in 2-way chat to supress warning
* sync config header on last example (not used in docs)
* refactor to make sure we use existing config when writing out extra credentials
* fixed bug in local LLM where we need to comment out api_type (for pyautogen>=0.2.0)
* patched bugs in autogen agent example, updated autogen agent creation to follow agentconfig paradigm
* more fixes
* black
* fix bug in autoreply
* black
* pass default autoreply through to the memgpt autogen conversibleagent subclass so that it doesn't leave empty messages which can trigger errors in local llm backends like lmstudio
* partial
* working schema builder, tested that it matches the hand-written schemas
* correct another schema diff
* refactor
* basic working test
* refactored preset creation to use yaml files
* added docstring-parser
* add code for dynamic function linking in agent loading
* pretty schema diff printer
* support pulling from ~/.memgpt/functions/*.py
* clean
* allow looking for system prompts in ~/.memgpt/system_prompts
* create ~/.memgpt/system_prompts if it doesn't exist
* pull presets from ~/.memgpt/presets in addition to examples folder
* add support for loading agent configs that have additional keys
---------
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
* Remove AsyncAgent and async from cli
Refactor agent.py memory.py
Refactor interface.py
Refactor main.py
Refactor openai_tools.py
Refactor cli/cli.py
stray asyncs
save
make legacy embeddings not use async
Refactor presets
Remove deleted function from import
* remove stray prints
* typo
* another stray print
* patch test
---------
Co-authored-by: cpacker <packercharles@gmail.com>
* 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
* various fixes to get autogen working again
* MemGPT+Autogen+Local LLM example working
Co-Authored-By: nmx0 <nmx0@users.noreply.github.com>
* propagate model to other memgpt_agent constructor
* fix agent_groupchat
* tested on lm studio
---------
Co-authored-by: nmx0 <nmx0@users.noreply.github.com>
Co-authored-by: cpacker <packercharles@gmail.com>
* Refactor autogen agent to use sync memgpt, add notebook example
* Add colab badge to notebook
* Update colab badge to point to main
* Add imports lost in the merge
* Changes to make autogenagent work with cli refactor