- {/* Modal Header */}
-
-
-
- Custom Extractor: {node.name}
- .py
-
-
-
-
- {/* Code Editor */}
-
- o.name) || []}
- onChange={handleCodeChange}
- onRequestGeneration={handleRequestGeneration}
- onRequestStreamingGeneration={handleStreamingGeneration}
- onRun={handleValidateCode}
- onTest={handleTestCode}
- onClose={() => setShowCodeEditor(false)}
- showHeader={false}
- height="100%"
- studyId={studyId || undefined}
- />
-
+ {/* Code Editor with built-in header containing toolbar buttons */}
+
o.name) || []}
+ onChange={handleCodeChange}
+ onRequestGeneration={handleRequestGeneration}
+ onRequestStreamingGeneration={handleStreamingGeneration}
+ onRun={handleValidateCode}
+ onTest={handleTestCode}
+ onClose={() => setShowCodeEditor(false)}
+ showHeader={true}
+ height="100%"
+ studyId={studyId || undefined}
+ />