From eef808d9211fd8bc4ce8ab1613d1d706663dccae Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 17 Mar 2026 23:16:19 +0000 Subject: [PATCH] fix: call .String() on AllowedTools Signed-off-by: Ettore Di Giacinto --- core/http/endpoints/localai/agent_skills.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/http/endpoints/localai/agent_skills.go b/core/http/endpoints/localai/agent_skills.go index 0971e1f73..0a9d998c4 100644 --- a/core/http/endpoints/localai/agent_skills.go +++ b/core/http/endpoints/localai/agent_skills.go @@ -28,7 +28,7 @@ func skillToResponse(s skilldomain.Skill) skillResponse { out.License = s.Metadata.License out.Compatibility = s.Metadata.Compatibility out.Metadata = s.Metadata.Metadata - out.AllowedTools = s.Metadata.AllowedTools + out.AllowedTools = s.Metadata.AllowedTools.String() } return out }