Commit Graph

647 Commits

Author SHA1 Message Date
Charles Packer
3ec8bb1465 fix: misc fixes (#700)
* add folder generation

* disable default temp until more testing is done

* apply embedding payload patch to search, add input checking for better runtime error messages

* streamlined memory pressure warning now that heartbeats get forced
2023-12-25 01:29:13 -08:00
Charles Packer
e758c75e81 updated readme for quickstart (#698) 2023-12-25 00:18:36 -08:00
Charles Packer
20f5231aff feat: added basic heartbeat override heuristics (#621)
* added basic heartbeat override

* tested and working on lmstudio (patched typo + patched new bug emerging in latest lmstudio build

* added lmstudio patch to chatml wrapper

* update the system messages to be informative about the source

* updated string constants after some tuning
2023-12-24 23:46:00 -08:00
Charles Packer
6e3d9e143e set default temp to 0.8 (#696) 2023-12-24 23:36:22 -08:00
Charles Packer
6394ca73ef Added length checking to the persona/human loader functions, also updated the CLI error dump to look prettier (eg on over length errors) (#695) 2023-12-24 23:05:13 -08:00
Javier Sastre
9c00de1ff3 fix: memgpt agent ignores user messages (#679)
* Fixed bug making MemGPT ignore some user messages

* Fixed bug making MemGPTAgent ignore some user messages

* Added pre-commit fixes
2023-12-24 12:41:47 -08:00
tombedor
da90d16fe1 Fix typo in Dockerfile (#690) 2023-12-23 12:35:10 -08:00
Charles Packer
ca8352fedd fix: AutoGen error when using python <3.10 (#691) 2023-12-23 12:29:58 -08:00
Charles Packer
1c983e7a53 fix: allow edge case of quickstart before run on first install (#684) 2023-12-23 12:06:19 -08:00
Charles Packer
34e36ad8ef moved configs for hosted to https, patched bug in embedding creation (#685) 2023-12-23 11:40:07 -08:00
Charles Packer
3482a196d6 feat: improve CLI appearance (#687)
* prettified standard cli output

* also suppress stdout for agent loading

* better spacing

* added emoji to existing agent load
2023-12-23 11:39:51 -08:00
Charles Packer
7f20b63553 added docs page, updated messages about param loading to show params loaded (#688) 2023-12-23 01:48:13 -08:00
Charles Packer
5d38dd5633 bump version (bugfix release) (#683) 2023-12-22 11:25:12 -08:00
Charles Packer
0b765ee95b fix: Patch quickstart via run on empty dir (#682)
* fixed bug where memgpt run's quickstart invocation was pulling from latest instead of local

* patched missing config dir creation step
2023-12-22 11:17:47 -08:00
Charles Packer
9dfb7f27c9 add config mirrors for people on old versions (#681) 2023-12-22 10:40:36 -08:00
Charles Packer
7053d1ff8e moved configs folder inside memgpt so that it gets included with the package, updated paths (#680) 2023-12-22 10:34:04 -08:00
Sarah Wooders
3541fd0c54 bump version to 0.2.8 (#678) 2023-12-22 09:57:16 -08:00
Charles Packer
ce0c3c92d1 feat: further simplify setup flow (#673)
* made quickstart to openai or memgpt the default option when the user doesn't have a config set

* modified formatting + message styles

* revised quickstart guides in docs to talk about quickstart command

* make message consistent

---------

Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2023-12-22 13:21:25 +04:00
Charles Packer
8b2cf66eda patched asset links (#677) 2023-12-22 01:09:32 -08:00
Charles Packer
88c7e59460 Update README.md (#676)
Patch asset links
2023-12-21 23:31:06 -08:00
Charles Packer
776a30e7dd feat: pull model list for openai-compatible endpoints (#630)
* allow entering custom model name when using openai/azure

* pull models from endpoint

* added/tested vllm and azure

* no print

* make red

* make the endpoint question give you an opportunity to enter your openai api key again in case you made a mitake / want to swap it out

* add cascading workflow for openai+azure model listings

* patched bug w/ azure listing
2023-12-21 23:27:48 -08:00
Charles Packer
1c38899b2e fix: CLI conveniences (add-on to #674) (#675)
* for openai, check for key and if missing allow user to pass it, for azure, throw error if the key isn't present

* correct prior checking of azure to be more strict, added similar checks at the embedding endpoint config stage

* forgot to override value in config before saving

* clean up the valuerrors from missing keys so that no stacktrace gets printed, make success text green to match others
2023-12-21 21:35:19 -08:00
Matheus
f22923d716 fix: Throw "env vars not set" early + enhance attach for KeyboardInterrupt (#669) (#674) 2023-12-21 20:47:34 -08:00
Charles Packer
4f23934e04 feat: Add new wrapper defaults (#656) 2023-12-21 17:05:38 +04:00
Charles Packer
d366e91c70 feat: added /summarize command (#667)
* added /summarize command

* patch and test
2023-12-21 01:04:05 -08:00
Charles Packer
a283d97d17 added logging of raw response on debug (#666) 2023-12-21 00:25:45 -08:00
Charles Packer
46f686dfde fix: Patch openai error message + openai quickstart (#665)
* removed risky prints

* cleanup

* fix bug with openai quickstart, add extra visual indicators that quickstart worked

* changed message
2023-12-21 00:17:37 -08:00
Charles Packer
3bc9ed01f7 patch bug with raw mode (#663) 2023-12-20 17:25:52 -08:00
Charles Packer
f532ffc41f feat: Add memgpt quickstart command (#641)
* Revert "Revert "nonfunctional 404 quickstart command w/ some other typo corrections""

This reverts commit 5dbdf31f1ce939843ff97e649554d8bc0556a834.

* Revert "Revert "added example config file""

This reverts commit 72a58f6de31f3ff71847bbaf083a91182469f9af.

* tested and working

* added and tested openai quickstart, added fallback if internet 404's to pull from local copy

* typo

* updated openai key input message to include html link

* renamed --type to --backend, added --latest flag which fetches from online default is to pull from local file

* fixed links
2023-12-20 00:00:40 -08:00
Charles Packer
dd500e19c3 updated assets (#654) 2023-12-19 14:51:20 -08:00
Max Blackmer, CSM
cb4915c64f fix: [446] better gitignore for IDEs and OS. (#651)
* [446] better gitignore for IDEs and OS.

* [446] better gitignore for IDEs and OS.
2023-12-19 14:34:55 -08:00
Charles Packer
0fc4ae46f1 feat: Updated contributing docs (#653)
* reorganized + revised landing

* more docs

* added pic

* updated contributing

* diff

* move asset links

* hard links
2023-12-19 14:28:07 -08:00
Charles Packer
f8b99b562f feat: Migrate docs (#646)
* updated docs for readme

* Update index.md

* Update index.md

* added header

* broken link

* sync heading sizes

* fix various broken rel links

* Update index.md

* added webp

* Update index.md

* strip mkdocs/rtk files

* replaced readthedocs references with readme
2023-12-18 20:29:24 -08:00
Charles Packer
a9feec245f feat: Add common + custom settings files for completion endpoints (#631) 2023-12-18 15:22:24 +04:00
cpacker
7f2edd8dd7 Revert "nonfunctional 404 quickstart command w/ some other typo corrections"
This reverts commit 22119cfb037c7d9379653006eafa03042eafcbe8.
2023-12-18 00:48:47 -08:00
cpacker
fbde2b47d1 Revert "added example config file"
This reverts commit f8e0783b611f89ab62cd15fa4ec80bf9aa28b1f8.
2023-12-18 00:48:33 -08:00
cpacker
2bb34fb02d added example config file 2023-12-18 00:45:47 -08:00
cpacker
9c8ed92ad7 nonfunctional 404 quickstart command w/ some other typo corrections 2023-12-18 00:45:02 -08:00
Charles Packer
569bc7da31 feat: added memgpt folder command (#632)
* added memgpt folder command

* comments
2023-12-17 10:54:17 -08:00
Charles Packer
10a59ed4b6 added semantic pr github action https://github.com/amannn/action-semantic-pull-request (#634) 2023-12-16 13:44:12 -08:00
Charles Packer
f839e0a2ea poetry add [html2text/docx2text] (#633) 2023-12-16 13:21:19 -08:00
cpacker
b8d3aed051 missing file 2023-12-16 11:44:45 -08:00
Charles Packer
e012802da1 Patch bug with loading of old agents (#629)
* initial patch that seems to work with example old agent save

* cleanup

* remove unneeded import
2023-12-16 10:04:23 -08:00
Charles Packer
070c0123c6 migrate to using completions endpoint by default (#628)
* migrate to using completions endpoint by default

* added note about version to docs
2023-12-15 12:29:52 -08:00
Charles Packer
d51c61e91c allow passing custom host to uvicorn (#618) 2023-12-14 13:01:33 -08:00
Charles Packer
490c0ccd4a patch bug where None.copy() throws runtime error (#617) 2023-12-14 12:52:53 -08:00
Charles Packer
27eb05e7e8 Add safeguard on tokens returned by functions (#576)
* swapping out hardcoded str for prefix (forgot to include in #569)

* add extra failout when the summarizer tries to run on a single message

* added function response validation code, currently will truncate responses based on character count

* added return type hints (functions/tools should either return strings or None)

* discuss function output length in custom function section

* made the truncation more informative
2023-12-13 21:57:50 -08:00
Charles Packer
2ed31fa2ad Update LICENSE 2023-12-13 21:53:03 -08:00
Charles Packer
e70a59dcd4 added autogen as an extra (#616)
* added autogen as an extra

* updated docs

Co-authored-by: hemanthsavasere <hemanth.savasere@gmail.com>
2023-12-13 21:36:03 -08:00
Charles Packer
8cc1ed0f59 updated local APIs to return usage info (#585)
* updated APIs to return usage info

* tested all endpoints
2023-12-13 21:11:20 -08:00