Modernize codebase, fix bugs, and bump to 0.2.5#17
Merged
Conversation
neboman11
commented
May 22, 2026
Owner
- Fix bug where generated LLM message was never logged (printed literal "message")
- Fix typos: DiscrodCreateMessageRequest, formatted_messaage, author name Nesibtt
- Handle missing keyword_actions.toml gracefully instead of panicking
- Update edition to 2021, add explicit serde derive feature
- Use ? operator throughout ai.rs and api.rs for cleaner error propagation
- Fix O(n²) message chunking loop; simplify with chars().chunks(2000)
- Replace &Vec/&String params with &[T]/&str throughout
- Reuse reqwest::Client in api.rs instead of creating one per call
- Replace bare unwrap() with expect() messages at startup boundaries
- Remove redundant format!("literal") calls and explicit returns
- Fix bug where generated LLM message was never logged (printed literal "message")
- Fix typos: DiscrodCreateMessageRequest, formatted_messaage, author name Nesibtt
- Handle missing keyword_actions.toml gracefully instead of panicking
- Update edition to 2021, add explicit serde derive feature
- Use ? operator throughout ai.rs and api.rs for cleaner error propagation
- Fix O(n²) message chunking loop; simplify with chars().chunks(2000)
- Replace &Vec<T>/&String params with &[T]/&str throughout
- Reuse reqwest::Client in api.rs instead of creating one per call
- Replace bare unwrap() with expect() messages at startup boundaries
- Remove redundant format!("literal") calls and explicit returns
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Resolve Cargo.toml conflict: keep flexible version specs and explicit serde derive feature from this branch; adopt multi-line serenity formatting from main - Pick up Dockerfile base image bump (rust:1.75 -> rust:1.88) from main Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Bump actions to current versions: checkout@v4, cosign-installer@v3, setup-buildx-action@v3, login-action@v3, metadata-action@v5, build-push-action@v6 - Enable image signing step (was commented out) - Remove stale comments and SHA-pinned references Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.