formatting

This commit is contained in:
0xArty
2023-04-14 20:42:28 +01:00
parent a0e3c238a4
commit 328ba5e69e
40 changed files with 911 additions and 592 deletions

View File

@@ -1,4 +1,5 @@
from autogpt.config import Config
cfg = Config()
from autogpt.llm_utils import create_chat_completion
@@ -22,8 +23,6 @@ def call_ai_function(function, args, description, model=None):
{"role": "user", "content": args},
]
response = create_chat_completion(
model=model, messages=messages, temperature=0
)
response = create_chat_completion(model=model, messages=messages, temperature=0)
return response