Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
genekogan committed Jan 12, 2024
1 parent 6f4b859 commit e8f9eee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cogs/LogosCharacterCog.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async def on_message(self, message: discord.Message) -> None:
request = {
"character_id": self.characterId,
"session_id": session_id,
"prompt": conversation,
"message": conversation,
# "prompt": prompt,
"attachments": attachment_urls,
}
Expand All @@ -96,7 +96,7 @@ async def on_message(self, message: discord.Message) -> None:
if trigger_reply:
ctx = await self.bot.get_context(message)
async with ctx.channel.typing():
request["prompt"] = prompt
request["message"] = prompt
response = logos_speak(LOGOS_URL, request)
print("response")
print(response)
Expand Down

0 comments on commit e8f9eee

Please sign in to comment.