Skip to content

Commit 5081103

Browse files
Merge pull request #182 from DiogoRibeiro7/codex/substituir-console.log-por-core.debug
Replace debug logs
2 parents 9de557f + 098f72a commit 5081103

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/core/llm/generateIssueContent.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ BODY:
2828
<detailed body>
2929
`;
3030
// 👇 Adiciona aqui
31-
console.log('[DEBUG] OpenAI key starts with:', process.env.OPENAI_API_KEY?.slice(0, 5));
32-
console.log('[DEBUG] Using model:', model);
33-
console.log('[DEBUG] Sending prompt to OpenAI...');
31+
core.debug(`[DEBUG] OpenAI key starts with: ${process.env.OPENAI_API_KEY?.slice(0, 5)}`);
32+
core.debug(`[DEBUG] Using model: ${model}`);
33+
core.debug('[DEBUG] Sending prompt to OpenAI...');
3434
try {
3535
const response = await openai.chat.completions.create({
3636
model,

0 commit comments

Comments
 (0)