MCPcopy Create free account
hub / github.com/Claw-AI-Lab/Claw-AI-Lab / arrayBufferToBase64

Function arrayBufferToBase64

frontend/src/components/ProjectPanel.tsx:78–86  ·  view source on GitHub ↗
(buffer: ArrayBuffer)

Source from the content-addressed store, hash-verified

76 if (datasetsPath.trim()) paths.datasets = datasetsPath.trim();
77 if (checkpointsPath.trim()) paths.checkpoints = checkpointsPath.trim();
78 onQuickSubmit(text, mode, angles, refPapersInput.trim(), paths);
79 setTopicInput('');
80 setAnglesInput('');
81 setRefPapersInput('');
82 };
83
84 const onKey = (e: React.KeyboardEvent) => {
85 if (e.key === 'Enter' && !e.shiftKey && !e.nativeEvent.isComposing) { e.preventDefault(); submit(); }
86 };
87
88 const sorted = [...projects].sort((a, b) => {
89 const o: Record<string, number> = { running: 0, queued: 1, interrupted: 2, new: 3, completed: 4 };

Callers 1

pickReferenceFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected