mirror of
https://github.com/mudler/LocalAI
synced 2026-05-24 09:28:23 +00:00
fix: call .String() on AllowedTools
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
9d9ea5c1a0
commit
eef808d921
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue