diff --git a/go.mod b/go.mod index 2f5c1ab..10507c3 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/CyCoreSystems/agi +module github.com/jeffdoubleyou/agi require github.com/pkg/errors v0.8.1 diff --git a/mrcp.go b/mrcp.go index fff07c8..5148546 100644 --- a/mrcp.go +++ b/mrcp.go @@ -108,8 +108,11 @@ type SynthResult struct { func (a *AGI) MRCPSynth(prompt string, opts string) (res *SynthResult, err error) { var cause string res = new(SynthResult) - - ret, err := a.Exec([]string{"MRCPSynth", prompt, opts}...) + execOpts := []string{ + fmt.Sprintf(`"%s"`, prompt), + opts, + } + ret, err := a.Exec([]string{"MRCPSynth", strings.Join(execOpts, ",")}...) if err != nil { return }