The declaration column in the plugin_declarations table has values, but the models field is [].
I maintainer di solito rispondono entro 1 giorno
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Self Checks
To make sure we get to you in time, please check the following :)
- [T ] I have searched for existing issues search for existing issues, including closed ones.
- [T ] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [T ] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [T ] "Please do not modify this template :) and fill in all the required fields."
Versions
- dify-plugin-daemon Version 0.5.1
- dify-api Version 1.11.2
build in Windows by source code
Describe the bug
A clear and concise description of what the bug is.
I’ve handled many Windows path–related issues in dify-plugin-daemon, and now plugins can be downloaded, compiled, and run properly. However, in the dify-plugin database, the declaration field in the plugin_declarations table has values, but the models field is [], which results in 0 models being displayed. I also deployed a set in Docker and copied the models content from there into the corresponding fields, which fixed the 0 models issue. Could this problem still be related to Windows paths?
logs:
PS C:\dify\dify-plugin-daemon-0.5.1\cmd\server> go run .\main.go
2026/01/06 15:25:54 pool.go:34: ?[32m[INFO]init routine pool, size: 1024?[0m
2026/01/06 15:25:55 init.go:107: ?[32m[INFO]dify plugin db initialized?[0m
2026/01/06 15:25:55 manager.go:103: ?[32m[INFO]start plugin manager daemon...?[0m
2026/01/06 15:25:55 init.go:20: ?[32m[INFO]Persistence initialized?[0m
2026/01/06 15:25:55 server_local.go:15: ?[32m[INFO]start to handle new plugins in path: plugin?[0m
2026/01/06 15:25:55 server_local.go:16: ?[32m[INFO]launch plugins with max concurrency: 2?[0m
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[gnet] 2026-01-06T15:25:55.4190702+08:00 INFO logging/logger.go:256 Launching gnet with 8 event-loops, listening on: tcp://127.0.0.1:5003
[GIN-debug] GET /health/check --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).server.HealthCheck.func4 (4 handlers)
[GIN-debug] HEAD /e/:hook_id/*path --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).endpointGroup.(*App).Endpoint.func1 (4 handlers)
[GIN-debug] POST /e/:hook_id/*path --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).endpointGroup.(*App).Endpoint.func2 (4 handlers)
[GIN-debug] GET /e/:hook_id/*path --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).endpointGroup.(*App).Endpoint.func3 (4 handlers)
[GIN-debug] PUT /e/:hook_id/*path --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).endpointGroup.(*App).Endpoint.func4 (4 handlers)
[GIN-debug] DELETE /e/:hook_id/*path --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).endpointGroup.(*App).Endpoint.func5 (4 handlers)
[GIN-debug] OPTIONS /e/:hook_id/*path --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).endpointGroup.(*App).Endpoint.func6 (4 handlers)
[GIN-debug] POST /plugin/:tenant_id/debugging/key --> github.com/langgenius/dify-plugin-daemon/internal/server/controllers.GetRemoteDebuggingKey (6 handlers)
2026/01/06 15:25:55 logger.go:13: ?[32m[INFO]local runtime starting: langgenius/tongyi:0.1.16@d8bffbe45418f0c117fb3393e5e40e61faee98f9a2183f062e5a280e74b15d21?[0m
[GIN-debug] POST /plugin/:tenant_id/dispatch/agent_strategy/invoke --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).pluginDispatchGroup.InvokeAgentStrategy.func5 (9 handlers)
2026/01/06 15:25:55 logger.go:13: ?[32m[INFO]local runtime starting: langgenius/echarts:0.0.1@e390de4320a5ab32ef24899983f84c31aa39e4690c7b294be11f2c10268c3a68?[0m
[GIN-debug] POST /plugin/:tenant_id/dispatch/tool/invoke --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeTool.func1 (9 handlers)
[GIN-debug] POST /plugin/:tenant_id/dispatch/tool/validate_credentials --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.ValidateToolCredentials.func2 (9 handlers)
[GIN-debug] POST /plugin/:tenant_id/dispatch/tool/get_runtime_parameters --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.GetToolRuntimeParameters.func3 (9 handlers)
[GIN-debug] POST /plugin/:tenant_id/dispatch/llm/invoke --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeLLM.func4 (9 handlers)
[GIN-debug] POST /plugin/:tenant_id/dispatch/llm/num_tokens --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.GetLLMNumTokens.func5 (9 handlers)
[GIN-debug] POST /plugin/:tenant_id/dispatch/text_embedding/invoke --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeTextEmbedding.func6 (9 handlers)
[GIN-debug] POST /plugin/:tenant_id/dispatch/multimodal_embedding/invoke --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeMultimodalEmbedding.func7 (9 handlers)
[GIN-debug] POST /plugin/:tenant_id/dispatch/text_embedding/num_tokens --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.GetTextEmbeddingNumTokens.func8 (9 handlers)
[GIN-debug] POST /plugin/:tenant_id/dispatch/rerank/invoke --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeRerank.func9 (9 handlers)
[GIN-debug] POST /plugin/:tenant_id/dispatch/multimodal_rerank/invoke --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeMultimodalRerank.func10 (9 handlers)
[GIN-debug] POST /plugin/:tenant_id/dispatch/tts/invoke --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.InvokeTTS.func11 (9 handlers)
[GIN-debug] POST /plugin/:tenant_id/dispatch/tts/model/voices --> github.com/langgenius/dify-plugin-daemon/internal/server.(*App).setupGeneratedRoutes.GetTTSModelVoices.func12 (9 handlers)
......
no error!
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
- Lingua principale
- Go
- Stelle
- 462
- Fork
- 326
- Merge medio
- 22h 15m
- PR unite (30g)
- 8
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di langgenius/dify-plugin-daemon
-
Agent strategy run cut by PLUGIN_MAX_EXECUTION_TIMEOUT is reported only as "Internal Server Error"Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
langgenius/dify-plugin-daemon#863 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
langgenius/dify-plugin-daemon#862 ·
I maintainer di solito rispondono entro 1 giorno
-
fix(install): prevent mirror settings from changing dependency resolution inputsForse già presa @WH-2099 l’ha presa 5 giorni fa. Apertaproject#dify-plugin-daemon
langgenius/dify-plugin-daemon#860 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
READONLY error when using Redis 6.2.2 Sentinel cluster on Kubernetes with dify-plugin-daemon 0.6.10-localForse già presa @Souravrajvi0 l’ha presa 60 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
langgenius/dify-plugin-daemon#826 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
uninstall the plugin, but the plugin package is not removedForse già presa @fatelei l’ha presa 111 giorni fa. Apertabug plugin-daemon
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
langgenius/dify-plugin-daemon#797 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di langgenius/dify-plugin-daemon
Issue simili
-
test_archive_is_downloaded_after_logout_login doesn't wait for the storage client after loginAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
list_issues and search_issues: inconsistent `fields` allow-lists (`html_url` rejected by list)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
github/github-mcp-server#3960 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
JuliusBrussee/caveman#1594 ·
I maintainer di solito rispondono entro 1 giorno
-
C-bug O-community X-blathers-triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
cockroachdb/cockroach#176264 · 1 commento ·