diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-21 11:39:27 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-21 11:39:27 +0300 |
| commit | e0648fdc2ed75a09f16e08626f122a5ed4582ad1 (patch) | |
| tree | fabcceb0d9cc5aeb098eb18062b0cc20423323f5 /internal/cmd/showcase.go | |
| parent | 73c6a37ecf0aac04711e5624455743b3493a7ef5 (diff) | |
feat(ai): update AI tool order and switch to glm-5.1:cloud via ollama launchv0.17.1
- Default AI tool fallback order: opencode -> hexai -> claude -> amp
- Switch opencode invocation to: ollama launch opencode --model glm-5.1:cloud -y -- run
- Update helptext and comments across all commands
Diffstat (limited to 'internal/cmd/showcase.go')
| -rw-r--r-- | internal/cmd/showcase.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/cmd/showcase.go b/internal/cmd/showcase.go index 3217318..d6d8faf 100644 --- a/internal/cmd/showcase.go +++ b/internal/cmd/showcase.go @@ -22,7 +22,7 @@ var showcaseCmd = &cobra.Command{ Short: "Generate AI-powered project showcase", Long: `Generate a comprehensive showcase of all your projects using AI. This feature creates a formatted document with project summaries, statistics, -and code snippets. By default uses opencode (local Ollama), with fallback to amp, hexai, and claude.`, +and code snippets. By default uses opencode (via ollama launch with glm-5.1:cloud), with fallback to hexai, claude, and amp.`, Example: ` # Generate showcase with cached summaries gitsyncer showcase @@ -63,6 +63,6 @@ func init() { showcaseCmd.Flags().StringVarP(&outputPath, "output", "o", "", "custom output eath (default: ~/git/foo.zone-content/gemtext/about/showcase.gmi.tpl)") showcaseCmd.Flags().StringVar(&outputFormat, "format", "gemtext", "output format: gemtext, markdown, html") showcaseCmd.Flags().StringVar(&excludePattern, "exclude", "", "exclude repos matching pattern") - showcaseCmd.Flags().StringVar(&showcaseAITool, "ai-tool", "opencode", "AI tool for summaries: opencode, amp, hexai, claude, or claude-code (default tries opencode→amp→hexai→claude)") + showcaseCmd.Flags().StringVar(&showcaseAITool, "ai-tool", "opencode", "AI tool for summaries: opencode, hexai, claude, amp, or claude-code (default tries opencode→hexai→claude→amp)") showcaseCmd.Flags().StringVar(&showcaseRepo, "repo", "", "only generate showcase for a single repository") } |
