glchat-plugin 0.3.5__py3-none-any.whl → 0.3.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.
- glchat_plugin/pipeline/pipeline_handler.py +9 -2
- {glchat_plugin-0.3.5.dist-info → glchat_plugin-0.3.6.dist-info}/METADATA +1 -1
- {glchat_plugin-0.3.5.dist-info → glchat_plugin-0.3.6.dist-info}/RECORD +5 -5
- {glchat_plugin-0.3.5.dist-info → glchat_plugin-0.3.6.dist-info}/WHEEL +0 -0
- {glchat_plugin-0.3.5.dist-info → glchat_plugin-0.3.6.dist-info}/top_level.txt +0 -0
|
@@ -205,11 +205,18 @@ class PipelineHandler(PluginHandler):
|
|
|
205
205
|
pipeline_key = (chatbot_id, f"__{pipeline_type}__")
|
|
206
206
|
instance._chatbot_pipeline_keys.setdefault(chatbot_id, set()).add(pipeline_key)
|
|
207
207
|
instance._pipeline_cache[pipeline_key] = pipeline
|
|
208
|
+
|
|
209
|
+
# Clear any previous error for this internal pipeline if build succeeded
|
|
210
|
+
instance._pipeline_build_errors.pop(pipeline_key, None)
|
|
208
211
|
except Exception as e:
|
|
209
|
-
|
|
210
|
-
logger.warning(
|
|
212
|
+
error_message = (
|
|
211
213
|
f"Error building internal pipeline `{pipeline_type}` for chatbot `{chatbot_id}`: {e}"
|
|
212
214
|
)
|
|
215
|
+
logger.warning(f"Failed when ainit plugin {traceback.format_exc()}")
|
|
216
|
+
logger.warning(error_message)
|
|
217
|
+
|
|
218
|
+
# Store the error message for later retrieval
|
|
219
|
+
instance._store_pipeline_build_error(chatbot_id, f"__{pipeline_type}__", error_message)
|
|
213
220
|
|
|
214
221
|
for model in supported_models:
|
|
215
222
|
try:
|
|
@@ -8,7 +8,7 @@ glchat_plugin/handler/__init__.py,sha256=H5DJaAfwwtRsvMcOaEzHfGMQk25H7la0E7uPfks
|
|
|
8
8
|
glchat_plugin/handler/base_post_login_handler.py,sha256=48xSbe_LwTCjRY-lCuzWXqbnEr1ql8bAhQih1Xeh8f8,2835
|
|
9
9
|
glchat_plugin/pipeline/__init__.py,sha256=Sk-NfIGyA9VKIg0Bt5OHatNUYyWVPh9i5xhE5DFAfbo,41
|
|
10
10
|
glchat_plugin/pipeline/base_pipeline_preset_config.py,sha256=vr453A2Nx09LqBYbsAVsMutD952wKh3udE1L4vXKyEI,2852
|
|
11
|
-
glchat_plugin/pipeline/pipeline_handler.py,sha256=
|
|
11
|
+
glchat_plugin/pipeline/pipeline_handler.py,sha256=CrC4PU5nLU-7QkebUMUsK4M3R55MwvXiX4tNiyb9_HE,29273
|
|
12
12
|
glchat_plugin/pipeline/pipeline_plugin.py,sha256=fozvxVrOphgwLIF7uPrEkF8ZQcu8xgifYAQyuxj9628,4393
|
|
13
13
|
glchat_plugin/service/__init__.py,sha256=9T4qzyYL052qLqva5el1F575OTRNaaf9tb9UvW-leTc,47
|
|
14
14
|
glchat_plugin/service/base_rate_limiter_service.py,sha256=tgKwdr4EqnGo5iDRVJPnlg8W9q0hiUzfeewAtdW4IjU,1232
|
|
@@ -19,7 +19,7 @@ glchat_plugin/storage/base_anonymizer_storage.py,sha256=oFwovWrsjM7v1YjeN-4p-M3O
|
|
|
19
19
|
glchat_plugin/storage/base_chat_history_storage.py,sha256=JvUUFMu_9jRBQ9yug_x7S4rQjZEA1vM5ombDvz-7zCE,11095
|
|
20
20
|
glchat_plugin/tools/__init__.py,sha256=OFotHbgQ8mZEbdlvlv5aVMdxfubPvkVWAcTwhIPdIqQ,542
|
|
21
21
|
glchat_plugin/tools/decorators.py,sha256=AvQBV18wzXWdC483RSSmpfh92zsqTyp8SzDLIkreIGU,3925
|
|
22
|
-
glchat_plugin-0.3.
|
|
23
|
-
glchat_plugin-0.3.
|
|
24
|
-
glchat_plugin-0.3.
|
|
25
|
-
glchat_plugin-0.3.
|
|
22
|
+
glchat_plugin-0.3.6.dist-info/METADATA,sha256=ZzCdsR3yhtD5ltXw_42w76_RJYaRpvvU1JgLDFFLsEc,2063
|
|
23
|
+
glchat_plugin-0.3.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
24
|
+
glchat_plugin-0.3.6.dist-info/top_level.txt,sha256=fzKSXmct5dY4CAKku4-mkdHX-QPAyQVvo8vpQj8qizY,14
|
|
25
|
+
glchat_plugin-0.3.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|