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
@AInitikesh Thanks for noticing this and raising the issue, as well as the proposed fix in magics.py. Why not open a PR with the correction, showing the problem first and the fix after the code change? Also test to make sure it does not break python code generation by other LLMs? Add screenshots as needed. You can use the Contributor documentation to set up for this: https://jupyter-ai.readthedocs.io/en/latest/contributors/index.html.
ollama:deepseek-coder-v2
Generates code like bellow
where there is space before ```python causing the output to be incorrect. Need to modify the lang_indicator as follows.
lang_indicator = r"^\s*```[a-zA-Z0-9]\s\n"
The text was updated successfully, but these errors were encountered: