Feature/llm data structs (#3486)

* Organize all the llm stuff into a subpackage

* Add structs for interacting with llms
This commit is contained in:
James Collins
2023-04-28 15:04:31 -07:00
committed by GitHub
parent c7d75643d3
commit b8478a96ae
9 changed files with 122 additions and 14 deletions

View File

@@ -10,8 +10,8 @@ from openai.error import APIError, RateLimitError, Timeout
from autogpt.config import Config
from autogpt.llm.api_manager import ApiManager
from autogpt.llm.base import Message
from autogpt.logs import logger
from autogpt.types.openai import Message
def retry_openai_api(