MCPcopy
hub / github.com/mudler/LocalAI / readInputFile

Function readInputFile

core/http/static/chat.js:951–957  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

949};
950
951function readInputFile() {
952 if (!this.files || !this.files.length) return;
953
954 Array.from(this.files).forEach(file => {
955 readInputFileFile(file);
956 });
957}
958
959function readInputFileFile(file) {
960 const FR = new FileReader();

Callers

nothing calls this directly

Calls 3

readInputFileFileFunction · 0.85
fromMethod · 0.80
forEachMethod · 0.45

Tested by

no test coverage detected