summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/cmd/release.go2
-rw-r--r--internal/cmd/showcase.go2
-rw-r--r--internal/release/release.go2
-rw-r--r--internal/showcase/showcase.go6
-rw-r--r--internal/version/version.go2
5 files changed, 7 insertions, 7 deletions
diff --git a/internal/cmd/release.go b/internal/cmd/release.go
index 5216b17..9d94a49 100644
--- a/internal/cmd/release.go
+++ b/internal/cmd/release.go
@@ -19,7 +19,7 @@ var releaseCmd = &cobra.Command{
Use: "release",
Short: "Manage releases across platforms",
Long: `Check for version tags without releases and create them across
-GitHub and Codeberg. Supports AI-generated release notes via opencode (launch run with glm-5.1:cloud),
+GitHub and Codeberg. Supports AI-generated release notes via opencode (launch run with glm-5.2:cloud),
with fallback to hexai, claude, or amp.`,
}
diff --git a/internal/cmd/showcase.go b/internal/cmd/showcase.go
index 741b4c8..a76e192 100644
--- a/internal/cmd/showcase.go
+++ b/internal/cmd/showcase.go
@@ -19,7 +19,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 (via ollama launch with glm-5.1:cloud), with fallback to hexai, claude, and amp.`,
+and code snippets. By default uses opencode (via ollama launch with glm-5.2:cloud), with fallback to hexai, claude, and amp.`,
Example: ` # Generate showcase with cached summaries
gitsyncer showcase
diff --git a/internal/release/release.go b/internal/release/release.go
index c6eca97..fc414c9 100644
--- a/internal/release/release.go
+++ b/internal/release/release.go
@@ -449,7 +449,7 @@ func (m *Manager) GenerateAIReleaseNotes(repoPath, repoName, tag string, allTags
switch tool {
case aitool.ToolOpencode:
fmt.Println(" Running ollama launch opencode ...")
- 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)
cmd.Stderr = os.Stderr
out, err := cmd.Output()
if err != nil {
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")
diff --git a/internal/version/version.go b/internal/version/version.go
index 9ecdead..3496d4b 100644
--- a/internal/version/version.go
+++ b/internal/version/version.go
@@ -7,7 +7,7 @@ import (
var (
// Version is the current version of gitsyncer
- Version = "0.18.4"
+ Version = "0.18.5"
// GitCommit is the git commit hash at build time
GitCommit = "unknown"