File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
internal/core/plugin_manager/local_runtime Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -310,10 +310,14 @@ func (p *LocalPluginRuntime) InitPythonEnvironment() error {
310
310
311
311
compileWg .Wait ()
312
312
if err := compileCmd .Wait (); err != nil {
313
- return fmt .Errorf ("failed to pre-compile the plugin: %s" , compileErrMsg .String ())
313
+ // skip the error if the plugin is not compiled
314
+ // ISSUE: for some weird reasons, plugins may reference to a broken sdk but it works well itself
315
+ // we need to skip it but log the messages
316
+ // https://github.com/langgenius/dify/issues/16292
317
+ log .Warn ("failed to pre-compile the plugin: %s" , compileErrMsg .String ())
314
318
}
315
319
316
- log .Info ("pre-loading the plugin %s" , p .Config .Identity ())
320
+ log .Info ("pre-loaded the plugin %s" , p .Config .Identity ())
317
321
318
322
// import dify_plugin to speedup the first launching
319
323
// ISSUE: it takes too long to setup all the deps, that's why we choose to preload it
You can’t perform that action at this time.
0 commit comments