We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Event
1 parent a678cca commit e1214c1Copy full SHA for e1214c1
core/src/main/java/com/google/adk/flows/llmflows/BaseLlmFlow.java
@@ -348,6 +348,9 @@ private Flowable<Event> runOneStep(InvocationContext context) {
348
.author(context.agent().name())
349
.branch(context.branch())
350
.build();
351
+ // Explicitly set the event timestamp to 0 so the postprocessing logic would generate
352
+ // events with fresh timestamp.
353
+ mutableEventTemplate.setTimestamp(0L);
354
355
Flowable<Event> restOfFlow =
356
callLlm(context, llmRequestAfterPreprocess, mutableEventTemplate)
0 commit comments