mirror of
https://github.com/AskDavis/nate-discord.git
synced 2025-12-31 20:55:58 -08:00
Update connect_openai.py
This commit is contained in:
@@ -26,7 +26,7 @@ async def chatgpt_response(prompt):
|
||||
DIALOGUE_STACK = DIALOGUE_STACK[-6:]
|
||||
messages = SYSTEM_DIRECTIVES + DIALOGUE_STACK
|
||||
|
||||
if "mabel" in prompt.lower():
|
||||
if "nate" in prompt.lower():
|
||||
logger.info("PROMPT: " + prompt.lower())
|
||||
try:
|
||||
response = openai.ChatCompletion.create(
|
||||
|
||||
Reference in New Issue
Block a user