chore: initial import

This commit is contained in:
chelsea
2025-11-11 23:11:59 -06:00
parent 7598942bc5
commit c15fe83651
28 changed files with 3755 additions and 4 deletions

25
Runner.py Normal file
View File

@@ -0,0 +1,25 @@
from AIInteraction import AIInteraction
class Runner:
"""Small façade so other modules only import one thing."""
@staticmethod
def run(userId, category, promptName, context, history=None, modeHint=None):
message = AIInteraction.callAI(
userId,
category,
promptName,
context,
history=history,
modeHint=modeHint,
)
return message
@staticmethod
def sendToDiscord(userId, message):
if not userId:
return
from DiscordGateway import DiscordGateway # lazy import to avoid dependency in simple runs
DiscordGateway.sendMessage(userId, message)