cellmage.ambient_modeยถ
Ambient mode functionality for CellMage.
This module handles the IPython input transformers that enable โambient modeโ - the ability to treat regular code cells as LLM prompts automatically.
Functions
|
Disable ambient mode by removing the input transformer from IPython. |
|
Enable ambient mode by registering an input transformer with IPython. |
|
Get the currently registered ambient handler function. |
|
Check if ambient mode is currently enabled. |
|
Process a regular code cell as an LLM prompt. |
|
Register a function that will handle processing cell content in ambient mode. |