with open('components/note-input.tsx', 'r') as f: content = f.read() old_call = """ const { suggestions, isAnalyzing } = useAutoTagging({ content: type === 'text' ? fullContentForAI : '', enabled: type === 'text' && isExpanded })""" new_call = """ const { suggestions, isAnalyzing } = useAutoTagging({ content: type === 'text' ? fullContentForAI : '', enabled: type === 'text' && isExpanded, notebookId: currentNotebookId })""" content = content.replace(old_call, new_call) with open('components/note-input.tsx', 'w') as f: f.write(content)