Skip to content

Commit 22a7136

Browse files
KrisBraunclaude
andcommitted
Move View in Drive link from note to activity level
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e5bb049 commit 22a7136

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tools/google-drive/src/google-drive.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -787,17 +787,13 @@ export class GoogleDrive extends Tool<GoogleDrive> implements DocumentTool {
787787
});
788788
}
789789

790-
// Add links to the summary note if present
791-
if (links.length > 0 && notes.length > 0) {
792-
notes[0].links = links;
793-
}
794-
795790
const activity: NewActivityWithNotes = {
796791
source: canonicalSource,
797792
type: ActivityType.Note,
798793
kind: ActivityKind.document,
799794
title: file.name,
800795
author,
796+
links: links.length > 0 ? links : null,
801797
meta: {
802798
fileId: file.id,
803799
folderId,

0 commit comments

Comments
 (0)