analyze_file


Description:

public async Tree analyze_file (Tree tree) throws Error

Analyzes a file and generates a file-level summary.

Creates a OLLMfiles.SQT.VectorMetadata object for the file with element_type='file', adds it to tree.elements so it gets processed like other elements.

Parameters:

tree

The Tree object with analyzed elements

Returns:

The same Tree object with file element added