You are viewing an older version (9.12.0).Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.12.0 / IPython / terminal / shortcuts / auto_suggest / NavigableAutoSuggestFromHistory / _cancel_running_llm_task

function

IPython.terminal.shortcuts.auto_suggest:NavigableAutoSuggestFromHistory._cancel_running_llm_task

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

Signature

def _cancel_running_llm_task(self) → None

Summary

Try to cancel the currently running llm_task if exists, and set it to None.

Aliases

  • IPython.terminal.interactiveshell.NavigableAutoSuggestFromHistory._cancel_running_llm_task