EphemeralNotebookProps
Agent Runtimes / chat/notebook/EphemeralNotebook / EphemeralNotebookProps
Interface: EphemeralNotebookProps
Defined in: src/chat/notebook/EphemeralNotebook.tsx:73
Properties
cellSidebarMargin?
optionalcellSidebarMargin?:number
Defined in: src/chat/notebook/EphemeralNotebook.tsx:82
Left margin reserved for the cell sidebar (default 120).
nbformat?
optionalnbformat?:INotebookContent
Defined in: src/chat/notebook/EphemeralNotebook.tsx:84
Optional persisted notebook model to restore when mounting.
notebookId
notebookId:
string
Defined in: src/chat/notebook/EphemeralNotebook.tsx:78
Notebook identifier. Must match the id passed to useNotebookTools so the
agent's notebook frontend tools operate on this notebook instance.
onNbformatChange?
optionalonNbformatChange?: (content) =>void
Defined in: src/chat/notebook/EphemeralNotebook.tsx:86
Callback fired when the notebook model changes.
Parameters
content
INotebookContent
Returns
void
runtimePodName?
optionalruntimePodName?:string
Defined in: src/chat/notebook/EphemeralNotebook.tsx:80
Preferred runtime pod name to bind the notebook kernel to.
toolbarComponent?
optionaltoolbarComponent?:EphemeralNotebookToolbarComponent
Defined in: src/chat/notebook/EphemeralNotebook.tsx:88
Optional toolbar component override.