feat: update sandbox service configuration in Docker Compose files

- Added container name for the sandbox service in both docker-compose.dev.yml and docker-compose.yml.
- Changed the profile from 'sandbox' to 'full' for the sandbox service, enhancing its integration within the application.
- Added logging for skill availability and sandbox mode in the skill handler, improving debugging capabilities.
This commit is contained in:
wizardchen
2026-02-04 21:31:16 +08:00
committed by lyingbug
parent d6444d0cf3
commit 03585a161d
3 changed files with 6 additions and 2 deletions
+2
View File
@@ -62,6 +62,8 @@ func (h *SkillHandler) ListSkills(c *gin.Context) {
sandboxMode := os.Getenv("WEKNORA_SANDBOX_MODE")
skillsAvailable := sandboxMode != "" && sandboxMode != "disabled"
logger.Infof(ctx, "skills_available: %v, sandboxMode: %s", skillsAvailable, sandboxMode)
c.JSON(http.StatusOK, gin.H{
"success": true,
"data": response,