Skip to content

Commit d48d493

Browse files
authored
fix(deps): update katana to v1.1.2 (#3962)
* fix(deps): update katana to v1.1.2 * update
1 parent 329110f commit d48d493

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kind: Notice
2+
body: Bump minimum katana version to 1.1.2
3+
time: 2025-03-07T10:30:44.006238+08:00

crates/tabby-crawler/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async fn crawl_url(
9393
if !data
9494
.response
9595
.headers
96-
.get("content_type")
96+
.get("content-type")
9797
.is_some_and(|ct| ct.starts_with("text/html"))
9898
{
9999
continue;

docker/Dockerfile.cuda

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN apt-get update && \
6161
rm -rf /var/lib/apt/lists/*
6262

6363
# Install katana
64-
RUN curl -L https://github.com/projectdiscovery/katana/releases/download/v1.1.0/katana_1.1.0_linux_amd64.zip -o katana.zip \
64+
RUN curl -L https://github.com/projectdiscovery/katana/releases/download/v1.1.2/katana_1.1.2_linux_amd64.zip -o katana.zip \
6565
&& unzip katana.zip katana \
6666
&& mv katana /usr/bin/ \
6767
&& rm katana.zip

ee/tabby-webserver/src/service/background_job/web_crawler.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,8 @@ impl WebCrawlerJob {
7676
logkit::info!("Indexed {} documents from '{}'", num_docs, self.url);
7777
return Ok(());
7878
}
79-
Err(err) => {
80-
logkit::info!(
81-
"No LLMS file found, continuing with normal indexing. Error: {:?}",
82-
err
83-
);
79+
Err(_) => {
80+
logkit::info!("/llms.txt is not available");
8481
}
8582
}
8683

website/docs/references/cloud-deployment/bentoml/setup-docker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ rm $DISTRO.zip
1313
rm -rf dist
1414

1515
# Install katana
16-
curl -L https://github.com/projectdiscovery/katana/releases/download/v1.1.0/katana_1.1.0_linux_amd64.zip -o katana.zip
16+
curl -L https://github.com/projectdiscovery/katana/releases/download/v1.1.2/katana_1.1.2_linux_amd64.zip -o katana.zip
1717
unzip katana.zip katana
1818
mv katana /usr/bin/
1919
rm katana.zip

0 commit comments

Comments
 (0)