glchat-plugin 0.2.5__py3-none-any.whl → 0.2.6__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.
@@ -7,6 +7,7 @@ References:
7
7
  None
8
8
  """
9
9
 
10
+ import warnings
10
11
  from enum import StrEnum
11
12
 
12
13
 
@@ -15,11 +16,26 @@ class SearchType(StrEnum):
15
16
 
16
17
  Attributes:
17
18
  NORMAL: Get answer from chatbot knowledge.
18
- WEB: Get more relevant information from the web.
19
+ SEARCH: Get answer from various connectors.
20
+ WEB: Get more relevant information from the web. (DEPRECATED)
19
21
  Web Search uses real-time data. Agent selection isn't available in this mode.
20
22
  DEEP_RESEARCH: Get answer from Deep Research Agent.
21
23
  """
22
24
 
23
25
  NORMAL = "normal"
24
- WEB = "web"
26
+ SEARCH = "search"
27
+ _WEB = "web" # Underscore to hide it from normal use
25
28
  DEEP_RESEARCH = "deep_research"
29
+
30
+ @property
31
+ def WEB(cls) -> "SearchType":
32
+ """Deprecated: Use SEARCH instead.
33
+
34
+ Will be removed in version 0.3.0
35
+ """
36
+ warnings.warn(
37
+ "SearchType.WEB is deprecated and will be removed in a future version. Use SearchType.SEARCH instead.",
38
+ DeprecationWarning,
39
+ stacklevel=2,
40
+ )
41
+ return cls._WEB
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: glchat-plugin
3
- Version: 0.2.5
3
+ Version: 0.2.6
4
4
  Author-email: GenAI SDK Team <gat-sdk@gdplabs.id>
5
5
  Requires-Python: <3.13,>=3.11
6
6
  Description-Content-Type: text/markdown
@@ -1,7 +1,7 @@
1
1
  glchat_plugin/__init__.py,sha256=SHSBMz7JDU6MecyIrhHu5-3NVs89JkXhyvD3ZGOkWOE,37
2
2
  glchat_plugin/config/__init__.py,sha256=DNnX8B_TvAN89oyMgq32zG1DeaezODrihiAXTwOPT5o,39
3
3
  glchat_plugin/config/app_config.py,sha256=9_ShYtaQ7Rp14sSkrIFLoOAMlbwVlm13EuCxzOn4NCI,426
4
- glchat_plugin/config/constant.py,sha256=U3Qg-MmrHUw51D8NcnCRbKfdhphCp_xEGbAjaGbaWHM,573
4
+ glchat_plugin/config/constant.py,sha256=yyHkEAtv0uF-B-ip6Qwr3MHOv_LQ-D5beZ7FiLzlaRU,1095
5
5
  glchat_plugin/context/__init__.py,sha256=3Wx_apMIS6z-m6eRs6hoyOsJFLJfKmMFOkrPDkPQfJI,40
6
6
  glchat_plugin/context/context_manager.py,sha256=0lhO0w_hd5dUdIEJQ2LOJFZsgpzitQU_aPZfTfQK3vw,1302
7
7
  glchat_plugin/pipeline/__init__.py,sha256=Sk-NfIGyA9VKIg0Bt5OHatNUYyWVPh9i5xhE5DFAfbo,41
@@ -17,7 +17,7 @@ glchat_plugin/storage/base_anonymizer_storage.py,sha256=oFwovWrsjM7v1YjeN-4p-M3O
17
17
  glchat_plugin/storage/base_chat_history_storage.py,sha256=JvUUFMu_9jRBQ9yug_x7S4rQjZEA1vM5ombDvz-7zCE,11095
18
18
  glchat_plugin/tools/__init__.py,sha256=OFotHbgQ8mZEbdlvlv5aVMdxfubPvkVWAcTwhIPdIqQ,542
19
19
  glchat_plugin/tools/decorators.py,sha256=AvQBV18wzXWdC483RSSmpfh92zsqTyp8SzDLIkreIGU,3925
20
- glchat_plugin-0.2.5.dist-info/METADATA,sha256=1wObo5KCKmhQp3I4Tzo7ifU7n5rszyuDsMeL63tCGgg,2063
21
- glchat_plugin-0.2.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
- glchat_plugin-0.2.5.dist-info/top_level.txt,sha256=fzKSXmct5dY4CAKku4-mkdHX-QPAyQVvo8vpQj8qizY,14
23
- glchat_plugin-0.2.5.dist-info/RECORD,,
20
+ glchat_plugin-0.2.6.dist-info/METADATA,sha256=mLIcOlhschBrPYOY9zJBYx1n5wMMdWNqz502WL5Y2fk,2063
21
+ glchat_plugin-0.2.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
+ glchat_plugin-0.2.6.dist-info/top_level.txt,sha256=fzKSXmct5dY4CAKku4-mkdHX-QPAyQVvo8vpQj8qizY,14
23
+ glchat_plugin-0.2.6.dist-info/RECORD,,