Skip to content

Commit a71cf5a

Browse files
fix(migrate): update prompt
1 parent 1012b3a commit a71cf5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

migrate/migrate-bot.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,15 @@ async function convertToMDX(
111111
body: JSON.stringify({
112112
model: MODEL_NAME,
113113
messages: [
114-
{ role: "system", content: prompt },
114+
{ role: "user", content: prompt },
115115
{
116116
role: "user",
117117
content: `
118-
// Convert the following HTML content from cppreference.com into MDX format suitable for CppDoc.
119-
// Title: ${title}
120118
// URL: ${url}
121119
// HTML Content:
122120
${html}
121+
122+
// Converted MDX Content without using html tags, only using CppDoc components and markdown syntax:
123123
`,
124124
},
125125
],

0 commit comments

Comments
 (0)