Skip to content

Commit

Permalink
feat: support rag in remove_url_handler func
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <sam@secondstate.io>
  • Loading branch information
apepkuss committed Jan 13, 2025
1 parent 3da6821 commit 6fa7579
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ pub(crate) async fn remove_url_handler(
"chat" => UrlType::Chat,
"whisper" => UrlType::AudioWhisper,
"image" => UrlType::Image,
"rag" => UrlType::Rag,
_ => {
let err_msg = format!("invalid url type: {}", url_type);
error!(target: "stdout", "{}", &err_msg);
Expand Down

0 comments on commit 6fa7579

Please # to comment.