Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
create -> acreate
Vivian Fang57b823fb70b8
diff --git a/memgpt/openai_tools.py b/memgpt/openai_tools.pyindex ef5395387..a744372af 100644--- a/memgpt/openai_tools.py+++ b/memgpt/openai_tools.py@@ -76,7 +76,7 @@ def aretry_with_exponential_backoff(# Retry on specified errorsexcept errors as e:- print(f"create (backoff): caught error: {e}")+ print(f"acreate (backoff): caught error: {e}")# Increment retriesnum_retries += 1@@ -115,4 +115,4 @@ async def async_get_embedding_with_backoff(text, model="text-embedding-ada-002")text = text.replace("\n", " ")response = await acreate_embedding_with_backoff(input = [text], model=model)embedding = response['data'][0]['embedding']- return embedding\ No newline at end of file+ return embedding