fix: preserve advancing pages across resumed task runs
This commit is contained in:
@@ -291,7 +291,7 @@ export class Runtime {
|
||||
else if (tool === 'read_artifact') {
|
||||
const artifact = this.store.owned('artifact', args.artifact_id, session.id), text = this.store.artifactStore.read(artifact);
|
||||
result = artifactPage(artifact, text, args, { callId: call.id, maximumMessageBytes: run.readMessageBytes ?? 16000 });
|
||||
recordArtifactRead(this.store.core.task.get(run.taskId), artifact, result, event.invocationId);
|
||||
recordArtifactRead(this.store.core.task.get(run.taskId), artifact, result, event.invocationId, run.id);
|
||||
}
|
||||
else if (tool === 'prepare_change_set') {
|
||||
const set = await this.changeSetManager().prepare(session, args.change_ids, { source: 'agent' });
|
||||
|
||||
Reference in New Issue
Block a user