Added an !llm option to get an llm.
This commit is contained in:
parent
31266dd3e2
commit
3b2026a5ad
1 changed files with 1 additions and 1 deletions
|
|
@ -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?;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue