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

24
main.py Normal file
View File

@@ -0,0 +1,24 @@
import os
from Runner import Runner
def getenv(name, default=None):
value = os.getenv(name)
if value is None or value == "":
return default
return value
def main():
userId = getenv("TARGET_USER_ID")
category = getenv("PROMPT_CATEGORY", "general")
promptName = getenv("PROMPT_NAME", "welcome")
context = getenv("PROMPT_CONTEXT", "container test run")
message = Runner.run(userId, category, promptName, context)
print(f"[runner] response: {message}")
if __name__ == "__main__":
main()