Skip to main content

EphemeralNotebookProps

Agent Runtimes


Agent Runtimes / chat/notebook/EphemeralNotebook / EphemeralNotebookProps

Interface: EphemeralNotebookProps

Defined in: src/chat/notebook/EphemeralNotebook.tsx:73

Properties

cellSidebarMargin?

optional cellSidebarMargin?: number

Defined in: src/chat/notebook/EphemeralNotebook.tsx:82

Left margin reserved for the cell sidebar (default 120).


nbformat?

optional nbformat?: 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?

optional onNbformatChange?: (content) => void

Defined in: src/chat/notebook/EphemeralNotebook.tsx:86

Callback fired when the notebook model changes.

Parameters

content

INotebookContent

Returns

void


runtimePodName?

optional runtimePodName?: string

Defined in: src/chat/notebook/EphemeralNotebook.tsx:80

Preferred runtime pod name to bind the notebook kernel to.


toolbarComponent?

optional toolbarComponent?: EphemeralNotebookToolbarComponent

Defined in: src/chat/notebook/EphemeralNotebook.tsx:88

Optional toolbar component override.