X-Git-Url: http://git.giacomolli.uk/onechat/blobdiff_plain/d302957c09b192d0fbc09287ba7dcb7c32426556..087d725b5ab41ad34ffd24938482d45a8b99a080:/agent.go?ds=inline diff --git a/agent.go b/agent.go index 1d76c5b..3fc9546 100644 --- a/agent.go +++ b/agent.go @@ -87,7 +87,7 @@ func (a *Agent) CacheKey() string { func (a *Agent) Prompt() (string, error) { instructions, err := a.instructions() if err != nil { - return "", err + return "", fmt.Errorf("read prompt instructions: %w", err) } path, err := filepath.Abs(filepath.Join(a.dir, agentInstructionsFileName))