Skip to content

Todoist: Avoid bloating the AI#17395

Merged
thomaslombart merged 2 commits intomainfrom
todoist-ai-extension-improvements
Feb 27, 2025
Merged

Todoist: Avoid bloating the AI#17395
thomaslombart merged 2 commits intomainfrom
todoist-ai-extension-improvements

Conversation

@thomaslombart
Copy link
Contributor

Description

Improve the AI Extension to only retrieve relevant tasks, comments, projects, and sections from the REST API to avoid bloating the AI with too much data.

Checklist

@thomaslombart thomaslombart self-assigned this Feb 27, 2025
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: todoist Issues related to the todoist extension OP is author The OP of the PR is the author of the extension labels Feb 27, 2025
@raycastbot
Copy link
Collaborator

Thank you for the update! 🎉

Due to our current reduced availability, the initial review may take up to 10-15 business days

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR optimizes the Todoist AI extension by implementing more targeted data retrieval from the Todoist API to prevent overwhelming the AI with unnecessary information.

  • Added specific tool files (get-tasks.ts, get-projects.ts, get-comments.ts, get-sections.ts) to fetch only relevant data instead of retrieving everything
  • Renamed get-relevant-data.ts to get-other-data.ts with improved resource type filtering capabilities
  • Updated AI instructions in package.json to prioritize specific identifiers (project_id, section_id, label) over general filters
  • Added comprehensive documentation for filter options in get-tasks.ts, making it easier for the AI to construct precise queries
  • Added a new entry in CHANGELOG.md correctly using the {PR_MERGE_DATE} placeholder that will be automatically replaced upon merging

💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!

7 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@thomaslombart thomaslombart merged commit 2980739 into main Feb 27, 2025
9 checks passed
@thomaslombart thomaslombart deleted the todoist-ai-extension-improvements branch February 27, 2025 16:51
@github-actions
Copy link
Contributor

Published to the Raycast Store:
https://raycast.com/doist/todoist

@raycastbot
Copy link
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

ViGeng pushed a commit to ViGeng/extensions that referenced this pull request Mar 1, 2025
* Todoist: Avoid bloating the AI

* Update CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension fix / improvement Label for PRs with extension's fix improvements extension: todoist Issues related to the todoist extension OP is author The OP of the PR is the author of the extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants