Skip to content

Commit

Permalink
fix assistant cog
Browse files Browse the repository at this point in the history
  • Loading branch information
genekogan committed Nov 27, 2023
1 parent 6a69b1f commit 3f000cc
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/bots/abraham/AbrahamAssistantCog.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from pathlib import Path
from discord.ext import commands
from cogs.AssistantCog import AssistantCog
from common.models import AbrahamAssistantConfig
from common.models import EdenAssistantConfig


class AbrahamAssistantCog(AssistantCog):
def __init__(self, bot: commands.bot) -> None:
assistant_config = AbrahamAssistantConfig(
assistant_config = EdenAssistantConfig(
character_description=self.load_prompt("character_description.txt"),
creator_prompt=self.load_prompt("creator_prompt.txt"),
documentation_prompt=self.load_prompt("documentation_prompt.txt"),
Expand Down
4 changes: 2 additions & 2 deletions src/bots/banny/BannyAssistantCog.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from pathlib import Path
from discord.ext import commands
from cogs.AssistantCog import AssistantCog
from common.models import BannyAssistantConfig
from common.models import EdenAssistantConfig


class BannyAssistantCog(AssistantCog):
def __init__(self, bot: commands.bot) -> None:
assistant_config = BannyAssistantConfig(
assistant_config = EdenAssistantConfig(
character_description=self.load_prompt("character_description.txt"),
creator_prompt=self.load_prompt("creator_prompt.txt"),
documentation_prompt=self.load_prompt("documentation_prompt.txt"),
Expand Down
4 changes: 2 additions & 2 deletions src/bots/dada/DadaAssistantCog.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from pathlib import Path
from discord.ext import commands
from cogs.AssistantCog import AssistantCog
from common.models import DadaAssistantConfig
from common.models import EdenAssistantConfig


class DadaAssistantCog(AssistantCog):
def __init__(self, bot: commands.bot) -> None:
assistant_config = DadaAssistantConfig(
assistant_config = EdenAssistantConfig(
character_description=self.load_prompt("character_description.txt"),
creator_prompt=self.load_prompt("creator_prompt.txt"),
documentation_prompt=self.load_prompt("documentation_prompt.txt"),
Expand Down
4 changes: 2 additions & 2 deletions src/bots/does/DoesAssistantCog.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from pathlib import Path
from discord.ext import commands
from cogs.AssistantCog import AssistantCog
from common.models import DoesAssistantConfig
from common.models import EdenAssistantConfig


class DoesAssistantCog(AssistantCog):
def __init__(self, bot: commands.bot) -> None:
assistant_config = DoesAssistantConfig(
assistant_config = EdenAssistantConfig(
character_description=self.load_prompt("character_description.txt"),
creator_prompt=self.load_prompt("creator_prompt.txt"),
documentation_prompt=self.load_prompt("documentation_prompt.txt"),
Expand Down
4 changes: 2 additions & 2 deletions src/bots/kojii/KojiiAssistantCog.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from pathlib import Path
from discord.ext import commands
from cogs.AssistantCog import AssistantCog
from common.models import KojiiAssistantConfig
from common.models import EdenAssistantConfig


class KojiiAssistantCog(AssistantCog):
def __init__(self, bot: commands.bot) -> None:
assistant_config = KojiiAssistantConfig(
assistant_config = EdenAssistantConfig(
character_description=self.load_prompt("character_description.txt"),
creator_prompt=self.load_prompt("creator_prompt.txt"),
documentation_prompt=self.load_prompt("documentation_prompt.txt"),
Expand Down
4 changes: 2 additions & 2 deletions src/bots/verdelis/VerdelisAssistantCog.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from pathlib import Path
from discord.ext import commands
from cogs.AssistantCog import AssistantCog
from common.models import VerdelisAssistantConfig
from common.models import EdenAssistantConfig


class VerdelisAssistantCog(AssistantCog):
def __init__(self, bot: commands.bot) -> None:
assistant_config = VerdelisAssistantConfig(
assistant_config = EdenAssistantConfig(
character_description=self.load_prompt("character_description.txt"),
creator_prompt=self.load_prompt("creator_prompt.txt"),
documentation_prompt=self.load_prompt("documentation_prompt.txt"),
Expand Down

0 comments on commit 3f000cc

Please sign in to comment.