We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d835ccf commit 7c4f91eCopy full SHA for 7c4f91e
1 file changed
src/tools/code-sandbox.ts
@@ -138,12 +138,11 @@ export class CodeSandbox {
138
const generation = await this.generateCode(problem, attempts);
139
const { code } = generation;
140
141
- logDebug(`Coding attempt ${i + 1}:`, { code });
142
// Evaluate the code
143
const result = this.evaluateCode(code);
144
- logDebug(`Coding attempt ${i + 1} success:`, { result });
145
146
if (result.success) {
+ logInfo('Coding success:', { problem, result });
147
return {
148
solution: {
149
code,
@@ -153,7 +152,7 @@ export class CodeSandbox {
153
152
};
154
}
155
156
- logError('Coding error:', { error: result.error });
+ logWarning('Coding error:', { error: result.error });
157
158
// Store the failed attempt
159
attempts.push({
0 commit comments