This is a development version (latest) and may be unstable.Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython latest / IPython / terminal / shortcuts / auto_suggest / llm_autosuggestion

function

IPython.terminal.shortcuts.auto_suggest:llm_autosuggestion

source: /dev/ipython/IPython/terminal/shortcuts/auto_suggest.py:445

Signature

async def llm_autosuggestion(event: KeyPressEvent)

Summary

Ask the AutoSuggester from history to delegate to ask an LLM for completion

Extended Summary

This will first make sure that the current buffer have _MIN_LINES (7) available lines to insert the LLM completion

Provisional as of 8.32, may change without warnings

Aliases

  • IPython.terminal.shortcuts.auto_suggest.llm_autosuggestion