You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A check for outline["sections"] and outline["description"] could ensure that this is caught.
Backtrace
File “/lib/python3.10/site-packages/jupyter_ai/chat_handlers/[base.py](http://base.py/)”, line 38, in process_message
await self._process_message(message)
File “/lib/python3.10/site-packages/jupyter_ai/chat_handlers/[generate.py](http://generate.py/)”, line 241, in _process_message
await fill_outline(outline, llm=self.llm, verbose=True)
File “/lib/python3.10/site-packages/jupyter_ai/chat_handlers/[generate.py](http://generate.py/)”, line 190, in fill_outline
generate_code(section, outline[“description”], llm=llm, verbose=verbose)
KeyError: ‘description’
The text was updated successfully, but these errors were encountered:
Description
jupyter-ai
fails if the model does not return a json-outline with a key=="description".https://github.com/jupyterlab/jupyter-ai/blob/main/packages/jupyter-ai/jupyter_ai/chat_handlers/generate.py#L190
A check for
outline["sections"]
andoutline["description"]
could ensure that this is caught.Backtrace
The text was updated successfully, but these errors were encountered: