mirror of
https://github.com/mudler/LocalAI.git
synced 2026-04-01 13:42:20 -04:00
fix: call .String() on AllowedTools
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user