summaryrefslogtreecommitdiff
path: root/internal/showcase
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-17 21:30:20 +0300
committerPaul Buetow <paul@buetow.org>2026-06-17 21:33:56 +0300
commit813077134132a62d0c9c73c7020ed734ff9add0b (patch)
treebc581918febf0ad91d10c6307ee7ce16806706de /internal/showcase
parent10941e1724d68802c76a4c4a4efdff7bc0af2c07 (diff)
feat(ai): switch default showcase model to glm-5.2:cloud and bump version to 0.18.5v0.18.5
Diffstat (limited to 'internal/showcase')
-rw-r--r--internal/showcase/showcase.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/showcase/showcase.go b/internal/showcase/showcase.go
index ace9227..ae938cb 100644
--- a/internal/showcase/showcase.go
+++ b/internal/showcase/showcase.go
@@ -53,7 +53,7 @@ func New(cfg *config.Config, workDir string) *Generator {
return &Generator{
config: cfg,
workDir: workDir,
- aiTool: "opencode", // default to opencode (via ollama launch with glm-5.1:cloud)
+ aiTool: "opencode", // default to opencode (via ollama launch with glm-5.2:cloud)
}
}
@@ -247,9 +247,9 @@ func runSummaryTool(selectedTool, prompt, repoPath, readmeFile string, readmeCon
fmt.Printf("Running ollama launch opencode command\n")
if readmeFound {
fullPrompt := prompt + "\n\nREADME content:\n" + string(readmeContent)
- fmt.Printf(" ollama launch opencode --model glm-5.1:cloud -y -- run \"...\"\n")
+ fmt.Printf(" ollama launch opencode --model glm-5.2:cloud -y -- run \"...\"\n")
fmt.Printf(" Using %s as input\n", readmeFile)
- cmd = exec.Command("ollama", "launch", "opencode", "--model", "glm-5.1:cloud", "-y", "--", "run", fullPrompt)
+ cmd = exec.Command("ollama", "launch", "opencode", "--model", "glm-5.2:cloud", "-y", "--", "run", fullPrompt)
}
case "hexai":
fmt.Printf("Running hexai command (stdin payload)\n")