-
Notifications
You must be signed in to change notification settings - Fork 282
Description
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.