{ } Raw JSON

bundles / IPython 9.13.0 / IPython / terminal / shortcuts / auto_suggest / llm_autosuggestion

function

IPython.terminal.shortcuts.auto_suggest:llm_autosuggestion

source: /IPython/terminal/shortcuts/auto_suggest.py :441

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