@Override
    public Boolean apply(ObjectNode tree) {
        ProxyUtil.collectAttachedFilesFromRequest(tree, this::processAttachedFile);
        return false;
    }
Collects attached files from the chat completion request and puts the result to API key data.
<p>
    Note. The function assigns a per-request key in the end of the processing.
</p>
server/src/main/java/com/epam/aidial/core/server/function/CollectRequestAttachmentsFn.java