Skip to content

Commit 1546df2

Browse files
committed
make error message simpler
1 parent d9c5dfa commit 1546df2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/cli/init.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,10 @@ func processTemplateFile(fs embed.FS, templateDir, filename, cwd string) error {
121121

122122
// Special handling for AGENTS.md - try to download from Replicate docs
123123
if filename == "AGENTS.md" {
124+
const agentsURL = "https://replicate.com/docs/reference/pipelines/llms.txt"
124125
downloadedContent, err := downloadAgentsFile()
125126
if err != nil {
126-
console.Infof("Failed to download AGENTS.md: %v", err)
127+
console.Infof("Failed to download AGENTS.md from %s", agentsURL)
127128
console.Infof("Using template version instead...")
128129
// Fall back to template version
129130
content, err = fs.ReadFile(path.Join(templateDir, filename))

0 commit comments

Comments
 (0)