pull/6371/head
Aiden Cline 2025-12-29 10:51:47 -06:00
parent 888361892d
commit 106eeb8536
1 changed files with 5 additions and 1 deletions

View File

@ -115,11 +115,15 @@ async function summarizeCommit(
sessionId: string,
message: string,
): Promise<string> {
console.log("summarizing commit:", message)
const result = await opencode.client.session
.prompt({
path: { id: sessionId },
body: {
model: { providerID: "opencode", modelID: "claude-sonnet-4-5" },
tools: {
"*": false,
},
parts: [
{
type: "text",
@ -192,7 +196,7 @@ export async function buildNotes(from: string, to: string) {
console.log("generating changelog since " + from)
const opencode = await createOpencode()
const opencode = await createOpencode({ port: 5044 })
const notes: string[] = []
try {