AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Fixing syntax error from mis-merge
Luke2a8f4ce0b74e
diff --git a/autogpt/llm/api_manager.py b/autogpt/llm/api_manager.pyindex aaf9342160..3a9d3eac41 100644--- a/autogpt/llm/api_manager.py+++ b/autogpt/llm/api_manager.py@@ -4,14 +4,8 @@ from typing import List, Optionalimport openaifrom openai import Model--<<<<<<< HEAD-from autogpt.config import Config-from autogpt.llm.base import CompletionModelInfo, MessageDict+from autogpt.llm.base import CompletionModelInfofrom autogpt.llm.providers.openai import OPEN_AI_MODELS-=======-from autogpt.llm.modelsinfo import COSTS->>>>>>> upstream/masterfrom autogpt.logs import loggerfrom autogpt.singleton import Singleton@@ -30,8 +24,8 @@ class ApiManager(metaclass=Singleton):self.total_cost = 0self.total_budget = 0.0self.models = None-- def update_cost(self, prompt_tokens, completion_tokens, model)++ def update_cost(self, prompt_tokens, completion_tokens, model):"""Update the total cost, prompt tokens, and completion tokens.