entari-plugin-hyw 4.0.0rc2__py3-none-any.whl → 4.0.0rc3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of entari-plugin-hyw might be problematic. Click here for more details.

@@ -135,7 +135,7 @@ class HywConfig(BasicConfModel):
135
135
  search_retries: int = 2
136
136
  fetch_timeout: float = 15.0
137
137
  fetch_max_results: int = 5
138
- fetch_blocked_domains: List[str] = field(default_factory=lambda: ["wikipedia.org", "csdn.net", "sohu.com", "sogou.com"])
138
+ fetch_blocked_domains: Optional[List[str]] = None
139
139
 
140
140
  # Fetch Model Config
141
141
  fetch_model_name: Optional[str] = None
@@ -196,7 +196,9 @@ class ProcessingPipeline:
196
196
 
197
197
  # Deduplicate while preserving order and filter blocked domains
198
198
  final_fetch_urls = []
199
- blocked_domains = getattr(self.config, "fetch_blocked_domains", ["wikipedia.org", "csdn.net", "sohu.com", "sogou.com"])
199
+ blocked_domains = getattr(self.config, "fetch_blocked_domains", None)
200
+ if blocked_domains is None:
201
+ blocked_domains = ["wikipedia.org", "csdn.net", "sohu.com", "sogou.com"]
200
202
  if isinstance(blocked_domains, str):
201
203
  blocked_domains = [d.strip() for d in blocked_domains.split(",")]
202
204
 
@@ -66,7 +66,9 @@ class SearchService:
66
66
  self._jina_api_key = getattr(config, "jina_api_key", None)
67
67
 
68
68
  # Blocked domains for search filtering
69
- self._blocked_domains = getattr(config, "fetch_blocked_domains", ["wikipedia.org", "csdn.net", "sohu.com", "sogou.com"])
69
+ self._blocked_domains = getattr(config, "fetch_blocked_domains", None)
70
+ if self._blocked_domains is None:
71
+ self._blocked_domains = ["wikipedia.org", "csdn.net", "sohu.com", "sogou.com"]
70
72
  if isinstance(self._blocked_domains, str):
71
73
  self._blocked_domains = [d.strip() for d in self._blocked_domains.split(",")]
72
74
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: entari_plugin_hyw
3
- Version: 4.0.0rc2
3
+ Version: 4.0.0rc3
4
4
  Summary: Use large language models to interpret chat messages
5
5
  Author-email: kumoSleeping <zjr2992@outlook.com>
6
6
  License: MIT
@@ -1,11 +1,11 @@
1
- entari_plugin_hyw/__init__.py,sha256=yg1J-jzz93YGZbNPy5hVFbxUPThE_PjPDv50a_3HEvM,17189
1
+ entari_plugin_hyw/__init__.py,sha256=XRjnYDWX-dfMi33yD1CcfejHcQyySXTrQVlo95dVfis,17118
2
2
  entari_plugin_hyw/history.py,sha256=zYtON0FgkA_AcXerLV335OzpIP30eAxDEp7NHCFFXis,7016
3
3
  entari_plugin_hyw/image_cache.py,sha256=t8pr1kgH2ngK9IhrBAhzUqhBWERNztUywMzgCFZEtQk,9899
4
4
  entari_plugin_hyw/misc.py,sha256=b0KPCUrf1GuCY0Mx29Sn5sREg1fxR1OyYEl4O4Omsys,4553
5
- entari_plugin_hyw/pipeline.py,sha256=BUlL50eqAgtvwgPLK7VIpW9VFTmzlHFulvrB0XFaZlM,53576
5
+ entari_plugin_hyw/pipeline.py,sha256=sRN74paq_oGuQnu_IncayH2WKWKt9XXFd99k85PcK0A,53663
6
6
  entari_plugin_hyw/prompts.py,sha256=BqX8MNdBG7M6_oRAe1jCiSCgcbRchFAoWpgF9WB3-0o,2348
7
7
  entari_plugin_hyw/render_vue.py,sha256=cdIsvuGIC-01Nmc9vgYnGQIY5CGh_ZdqphAhFP4h0Qo,12426
8
- entari_plugin_hyw/search.py,sha256=kIZ8t7RkJ2QA0x-eSgjC9ppKdD9WHTTllOw1zwnZkBk,30300
8
+ entari_plugin_hyw/search.py,sha256=bN958sSXYIz7fMmH_ZoS1777c1wXatV05-rvfEq_YHQ,30383
9
9
  entari_plugin_hyw/assets/card-dist/index.html,sha256=B5U91hlLEVK_zPNmMoB5daj475ncdRKbVxR35Xgb-Ns,2016492
10
10
  entari_plugin_hyw/assets/card-dist/vite.svg,sha256=SnSK_UQ5GLsWWRyDTEAdrjPoeGGrXbrQgRw6O0qSFPs,1497
11
11
  entari_plugin_hyw/assets/card-dist/logos/anthropic.svg,sha256=ASsy1ypo3osNc3n-B0R81tk_dIFsVgg7qQORrd5T2kA,558
@@ -82,7 +82,7 @@ entari_plugin_hyw/card-ui/src/components/HelloWorld.vue,sha256=yvBIzJua9BfikUOR1
82
82
  entari_plugin_hyw/card-ui/src/components/MarkdownContent.vue,sha256=JO1sKThQB42bVl5382BkxpDEyRpAK7oGcmdj1LY5P64,13190
83
83
  entari_plugin_hyw/card-ui/src/components/SectionCard.vue,sha256=owcDNx2JYVmF2J5SYCroR2gvg_cPApQsNunjK1WJpVI,1433
84
84
  entari_plugin_hyw/card-ui/src/components/StageCard.vue,sha256=cC0TeJ4AhtN3sJEXenVpl2Eq5901GKC59qpDUNH2SZE,10964
85
- entari_plugin_hyw-4.0.0rc2.dist-info/METADATA,sha256=RuHuFP3bs5GP3ICUjZOEr-1TC_CYTBARrBXe01fxY10,3746
86
- entari_plugin_hyw-4.0.0rc2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
87
- entari_plugin_hyw-4.0.0rc2.dist-info/top_level.txt,sha256=TIDsn6XPs6KA5e3ezsE65JoXsy03ejDdrB41I4SPjmo,18
88
- entari_plugin_hyw-4.0.0rc2.dist-info/RECORD,,
85
+ entari_plugin_hyw-4.0.0rc3.dist-info/METADATA,sha256=QRo43_u1wr2pk4YP3A39imoEC0vG-fiyb7Ns4ZLq9qw,3746
86
+ entari_plugin_hyw-4.0.0rc3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
87
+ entari_plugin_hyw-4.0.0rc3.dist-info/top_level.txt,sha256=TIDsn6XPs6KA5e3ezsE65JoXsy03ejDdrB41I4SPjmo,18
88
+ entari_plugin_hyw-4.0.0rc3.dist-info/RECORD,,