diff --git a/src/bots/eden-stg/.env.example b/src/bots/eden-stg/.env.example index a38084d..004dd0c 100644 --- a/src/bots/eden-stg/.env.example +++ b/src/bots/eden-stg/.env.example @@ -11,4 +11,4 @@ ALLOWED_GUILDS= ALLOWED_GUILDS_TEST= ALLOWED_CHANNELS= -OPENAI_API_KEY= +LOGOS_URL= diff --git a/src/cogs/LogosCharacterCog.py b/src/cogs/LogosCharacterCog.py index 2277542..119e452 100644 --- a/src/cogs/LogosCharacterCog.py +++ b/src/cogs/LogosCharacterCog.py @@ -21,7 +21,7 @@ ALLOWED_CHANNELS = [int(c) for c in os.getenv("ALLOWED_CHANNELS", "").split(",")] EDEN_API_URL = os.getenv("EDEN_API_URL") -LOGOS_API_URL = os.getenv("LOGOS_API_URL") +LOGOS_URL = os.getenv("LOGOS_API_URL") EDEN_FRONTEND_URL = EDEN_API_URL.replace("api", "app") EDEN_API_KEY = os.getenv("EDEN_API_KEY") EDEN_API_SECRET = os.getenv("EDEN_API_SECRET") @@ -77,9 +77,7 @@ async def on_message(self, message: discord.Message) -> None: "author_id": str(message.author.id), } - response = request_logos_assistant( - LOGOS_API_URL, assistant, interaction - ) + response = request_logos_assistant(LOGOS_URL, assistant, interaction) reply = response.get("message")[:2000] reply_message = await message.reply(reply)