-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chat with Shrek! #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small stuff, but I think once we add back the morning timer, it should be good to go!
@@ -2,7 +2,7 @@ | |||
name = "swamp-discord-bot" | |||
version = "0.1.0" | |||
description = "A Discord bot for managing a friend server" | |||
authors = ["Forest <>"] | |||
authors = ["Forest <[email protected]>"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity, was this causing issues? I could imagine something might not like a missing email, but curious what it might be :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It caused an error message. Not sure if it's the poetry version or what. Everything works but the message is annoying.
if is_healthy: | ||
# Start the good morning task only if AI is healthy | ||
send_good_morning.start() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason to remove the existing bot features? (features is used loosely here, but nonetheless :P )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo, needs to be fixed.
|
||
|
||
# mainly used for testing. Should not be used in production unless the user is aware that openai or anthropic or other apis are used | ||
async def query_open_router(prompt: str) -> str: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't be too hard to make sure we don't run this in prod, since there won't be any API keys available where it's running 👍🏻
Allows user to chat with shrek
