Skip to content

Commit 991b3da

Browse files
committed
remove test for logging project name, structured logging no longer an important goal for the project
1 parent e1b442c commit 991b3da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/codemodder-plugin-llm/src/main/java/io/codemodder/plugins/llm/SarifToLLMForMultiOutcomeCodemod.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ private boolean estimatedToExceedContextWindow(final CodemodInvocationContext co
201201
int tokenCount =
202202
model.tokens(
203203
List.of(
204-
getSystemMessage().getContent(), estimatedUserMessage.getContent().toString()));
204+
getSystemMessage().getStringContent(),
205+
estimatedUserMessage.getContent().toString()));
205206
// estimated token count doesn't include the function (~100 tokens) or the reply
206207
// (~200 tokens) so add those estimates before checking against window size
207208
tokenCount += 300;

0 commit comments

Comments
 (0)