Skip to content

Modernize codebase, fix bugs, and bump to 0.2.5#17

Merged
neboman11 merged 3 commits into
mainfrom
modernize-and-fix
May 22, 2026
Merged

Modernize codebase, fix bugs, and bump to 0.2.5#17
neboman11 merged 3 commits into
mainfrom
modernize-and-fix

Conversation

@neboman11

Copy link
Copy Markdown
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

neboman11 and others added 3 commits May 21, 2026 22:20
- 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>
@neboman11 neboman11 merged commit 72822e9 into main May 22, 2026
1 check passed
@neboman11 neboman11 deleted the modernize-and-fix branch May 22, 2026 03:40
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.

1 participant