This website works better with JavaScript.
Ana Sayfa
Keşfet
Yardım
Üye Ol
Giriş Yap
OpenSource
/
dify
İzle
4
Yıldızla
0
Çatalla
0
Kod
Sorunlar
0
Değişiklik İstekleri
0
Sürümler
152
Wiki
Aktivite
Kaynağa Gözat
fix: web reader tool retrieve content empty (
#957
)
tags/0.3.15
takatost
2 yıl önce
ebeveyn
5623839c71
işleme
5cba2e7087
No account linked to committer's email address
1 değiştirilmiş dosya
ile
3 ekleme
ve
0 silme
Görünümü Böl
Farklılık Durumunu Göster
3
0
api/core/tool/web_reader_tool.py
+ 3
- 0
api/core/tool/web_reader_tool.py
Dosyayı Görüntüle
@@ -88,6 +88,9 @@ class WebReaderTool(BaseTool):
texts = character_splitter.split_text(page_contents)
docs = [Document(page_content=t) for t in texts]
if len(docs) == 0:
return "No content found."
docs = docs[1:]
# only use first 5 docs
Write
Preview
Loading…
İptal
Kaydet