AutoGPT/autogpt/llm
James Collins 6e6e7fcc9a
Extract openai API calls and retry at lowest level (#3696)
* Extract open ai api calls and retry at lowest level

* Forgot a test

* Gotta fix my local docker config so I can let pre-commit hooks run, ugh

* fix: merge artiface

* Fix linting

* Update memory.vector.utils

* feat: make sure resp exists

* fix: raise error message if created

* feat: rename file

* fix: partial test fix

* fix: update comments

* fix: linting

* fix: remove broken test

* fix: require a model to exist

* fix: BaseError issue

* fix: runtime error

* Fix mock response in test_make_agent

* add 429 as errors to retry

---------

Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com>
Co-authored-by: Nicholas Tindle <nick@ntindle.com>
Co-authored-by: Reinier van der Leer <github@pwuts.nl>
Co-authored-by: Nicholas Tindle <nicktindle@outlook.com>
Co-authored-by: Luke K (pr-0f3t) <2609441+lc0rp@users.noreply.github.com>
Co-authored-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-06-14 07:59:26 -07:00
..
providers Extract openai API calls and retry at lowest level (#3696) 2023-06-14 07:59:26 -07:00
utils Extract openai API calls and retry at lowest level (#3696) 2023-06-14 07:59:26 -07:00
__init__.py Vector memory revamp (part 1: refactoring) (#4208) 2023-05-25 20:31:11 +02:00
api_manager.py Extract openai API calls and retry at lowest level (#3696) 2023-06-14 07:59:26 -07:00
base.py Extract openai API calls and retry at lowest level (#3696) 2023-06-14 07:59:26 -07:00
chat.py Pass agent to commands instead of config (#4645) 2023-06-10 15:48:50 -07:00
modelsinfo.py Vector memory revamp (part 1: refactoring) (#4208) 2023-05-25 20:31:11 +02:00