You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log("generating changelog since "+previous)
30
+
constraw=awaitopencode.client.session
31
+
.prompt({
32
+
path: {
33
+
id: session.data!.id,
34
+
},
35
+
body: {
36
+
model: {
37
+
providerID: "opencode",
38
+
modelID: "kimi-k2",
39
+
},
40
+
parts: [
41
+
{
42
+
type: "text",
43
+
text: `
44
+
Analyze these commits and generate a changelog of all notable user facing changes.
45
+
46
+
Commits between ${previous} and HEAD:
47
+
${commits}
48
+
49
+
- Do NOT make general statements about "improvements", be very specific about what was changed.
50
+
- Do NOT include any information about code changes if they do not affect the user facing changes.
51
+
- For commits that are already well-written and descriptive, avoid rewording them. Simply capitalize the first letter, fix any misspellings, and ensure proper English grammar.
52
+
- DO NOT read any other commits than the ones listed above (THIS IS IMPORTANT TO AVOID DUPLICATING THINGS IN OUR CHANGELOG)
53
+
54
+
IMPORTANT: ONLY return a bulleted list of changes, do not include any other information. Do not include a preamble like "Based on my analysis..."
55
+
56
+
<example>
57
+
- Added ability to @ mention agents
58
+
- Fixed a bug where the TUI would render improperly on some terminals
0 commit comments