mirror of
https://github.com/mudler/LocalAGI.git
synced 2026-07-23 18:55:52 -04:00
fix: correct API url
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
@@ -164,7 +164,7 @@ func (a *GenSongAction) Run(ctx context.Context, sharedState *types.AgentSharedS
|
||||
return types.ActionResult{}, err
|
||||
}
|
||||
|
||||
url := a.apiURL + "/sound"
|
||||
url := a.apiURL + "/v1/sound-generation"
|
||||
req, err := http.NewRequestWithContext(ctx, http.MethodPost, url, bytes.NewReader(body))
|
||||
if err != nil {
|
||||
return types.ActionResult{}, err
|
||||
|
||||
Reference in New Issue
Block a user