Skip to content
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

Merged
merged 9 commits into from
Dec 27, 2024
Merged

Chat with Shrek! #2

merged 9 commits into from
Dec 27, 2024

Conversation

m9p909
Copy link
Contributor

@m9p909 m9p909 commented Dec 24, 2024

Allows user to chat with shrek
Screenshot from 2024-12-24 11-50-41

Copy link
Contributor

@AngelOnFira AngelOnFira left a 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]>"]
Copy link
Contributor

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 :)

Copy link
Contributor Author

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()
Copy link
Contributor

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 )

Copy link
Contributor Author

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:
Copy link
Contributor

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 👍🏻

@AngelOnFira AngelOnFira merged commit 7e3a8ab into swamp-netizens:main Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants