Skip to content

Commit 8605f31

Browse files
authored
Keep the provisional warning
1 parent fc32a82 commit 8605f31

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

IPython/terminal/interactiveshell.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,11 @@ class to use for the `NavigableAutoSuggestFromHistory` to request
479479
@observe("llm_provider_class")
480480
def _llm_provider_class_changed(self, change):
481481
provider_class = change.new
482+
if provider_class is not None:
483+
warn(
484+
"TerminalInteractiveShell.llm_provider_class is a provisional"
485+
" API as of IPython 8.32, and may change without warnings."
486+
)
482487
self._llm_provider_class = provider_class
483488
self._set_autosuggestions()
484489

0 commit comments

Comments
 (0)