Skip to content

Conversation

@sheagcraig
Copy link
Contributor

This PR expands on the comment listing tool I snuck into the last PR, letting it read a single comment and its thread of replies in their entirety.

It also adds in an optional mimeType argument to the drive search function, which allows it to successfully search for folders, allowing you to more easily identify them for the purposes of saving new files in them.

.ok_or_else(|| ToolError::InvalidParameters(format!("Invalid pageSize: {}", s)))
.and_then(|n| {
if (0..=100).contains(&n) {
if (1..=100).contains(&n) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think we can expand the max to something like 500, since its all text information it shouldn't be too big of a deal context wise

.page_size(page_size)
.param(
"fields",
"comments(author, content, createdTime, modifiedTime, id, resolved)",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible to also pull replies here? i can imagine users wanting to just pull all comments + replies in a single call to have goose synthesize everything

@kalvinnchau kalvinnchau changed the title Feat comment read feat(google_drive: comment read Mar 17, 2025
@kalvinnchau kalvinnchau changed the title feat(google_drive: comment read feat(google_drive): comment read Mar 17, 2025
@kalvinnchau kalvinnchau merged commit a2ce2b7 into block:main Mar 18, 2025
6 checks passed
michaelneale added a commit that referenced this pull request Mar 18, 2025
* main:
  chore(release): release version 1.0.15 (#1749)
  docs: goosing around: langfuse blog (#1746)
  feat: update the deny call response (#1741)
  feat: refactor register eval (#1713)
  fix: Goose UI fix typos (#1744)
  feat(google_drive): comment read (#1732)
  feat: build cli workflow  (#1697)
  fix: fix initial model configuration in cli when using toolshim (#1720)
  feat: add basic support for aws bedrock to desktop app (#1271)
  feat(google_drive): add image resizing logic from developer, and use Content::Image (#1735)
  Standardize Radio Button input (#1701)
  ui: tweaks to settings v2 (#1731)
  feat(google_drive): set read/write scope on all commands to use the same token (#1707)
  refactor: clean up log usage (#1704)
  docs: fix docusaurus sidebar limit (#1722)
  docs: Add Session List To CLI Commands Guide (#1729)
  ui: start extensions on add (#1714)
  ui: new extensions modal (#1711)
  docs: Add Filesystem Short Video to Tutorial (#1723)
  fix: update the mcp client protocol version to 2024-11-05 (#1690)
salman1993 added a commit that referenced this pull request Mar 20, 2025
* origin/main: (74 commits)
  config: add optional extension description (#1743)
  docs: add deployment for install link generator (#1737)
  ui: new configure provider flow (#1736)
  Revert "Standardize Radio Button input" (#1758)
  Settings v2 Add Model (#1708)
  fix: use lowercase names for builtin external extensions (#1756)
  chore(release): release version 1.0.15 (#1749)
  docs: goosing around: langfuse blog (#1746)
  feat: update the deny call response (#1741)
  feat: refactor register eval (#1713)
  fix: Goose UI fix typos (#1744)
  feat(google_drive): comment read (#1732)
  feat: build cli workflow  (#1697)
  fix: fix initial model configuration in cli when using toolshim (#1720)
  feat: add basic support for aws bedrock to desktop app (#1271)
  feat(google_drive): add image resizing logic from developer, and use Content::Image (#1735)
  Standardize Radio Button input (#1701)
  ui: tweaks to settings v2 (#1731)
  feat(google_drive): set read/write scope on all commands to use the same token (#1707)
  refactor: clean up log usage (#1704)
  ...
ahau-square pushed a commit that referenced this pull request May 2, 2025
cbruyndoncx pushed a commit to cbruyndoncx/goose that referenced this pull request Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants