otto8-ai / otto8

Open source AI Agent Platform
Apache License 2.0
12 stars 9 forks source link

Knowledge - Notion sync fetches pages from incorrectly for a different agent's notion page setting. #468

Open sangee2004 opened 1 week ago

sangee2004 commented 1 week ago

Steps to reproduce the problem:

  1. Create a agent with knowledge from a notion page ( Test1 in my case) Wait for the sync to be completed. You may see the child pages not being synced right away which is tracked in - https://github.com/otto8-ai/otto8/issues/200 If that is the case , use "Sync Now" option to fetch all the child pages.
Screenshot 2024-11-06 at 5 22 53 PM
  1. Create another agent with knowledge from a different notion page ( My Test pages in my case)

Wait for the sync to be completed. You may see the child pages not being synced right away which is tracked in - https://github.com/otto8-ai/otto8/issues/200 If that is the case , use "Sync Now" option to fetch all the child pages.

Screenshot 2024-11-06 at 5 25 03 PM
  1. From Agent created in step1 , go to the "Add Knowledge"->Notion page and use "Sync Now" option.

Notice that the files from notion page - My Test pages (which is the notion setup for agent in step2 ) is getting fetched incorrectly.

Screenshot 2024-11-06 at 5 27 12 PM
cjellick commented 1 week ago

As discussed, we'll need to make notion auth global