Added an !llm option to get an llm.

This commit is contained in:
Micheal Smith 2026-03-06 18:38:30 -06:00
parent 31266dd3e2
commit 3b2026a5ad
Signed by: xulfer
GPG key ID: E40750BFE6702504

View file

@ -126,7 +126,7 @@ impl Chat {
match cmd { match cmd {
// Just preserve the original behavior for now. // Just preserve the original behavior for now.
"!gem" => { "!gem" | "!llm" => {
let stripped_msg = msg.strip_prefix("!gem").unwrap_or(msg); let stripped_msg = msg.strip_prefix("!gem").unwrap_or(msg);
let mut llm_response = self.llm_handle.send_request(stripped_msg).await?; let mut llm_response = self.llm_handle.send_request(stripped_msg).await?;