Skip to content

Commit f751405

Browse files
committed
Updated dependencies
1 parent 26afbae commit f751405

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

jupyter_ai_jupyternaut/jupyternaut/jupyternaut.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from jupyter_core.paths import jupyter_data_dir
77
from jupyterlab_chat.models import Message
88
from langchain.agents import create_agent
9-
from langchain.agents.middleware import AgentMiddleware, TodoListMiddleware
9+
from langchain.agents.middleware import AgentMiddleware
1010
from langchain.agents.middleware.file_search import FilesystemFileSearchMiddleware
1111
from langchain.agents.middleware.shell_tool import ShellToolMiddleware
1212
from langchain.messages import ToolMessage

jupyter_ai_jupyternaut/jupyternaut/prompt_template.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@
3131
- Example of a correct response: `You have \\(\\$80\\) remaining.`
3232
3333
If the user's request involves writing to a file, don't use fenced code blocks, write the content directly.
34-
- Example: if the request requires adding code to a notebook cell, don't use fenced code block
35-
- Example: if the request requires adding markdown to a notebook cell, don't use markdown code block
34+
35+
If the request requires using the add_cell or edit_cell to add code to a notebook code cell, don't use fenced code block.
36+
37+
If the request requires adding markdown to a notebook markdown cell, don't use markdown code block.
3638
3739
Don't echo contents back to user after reading files. Rather use that information to fulfill user's request.
3840

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ dependencies = [
3737
"deepmerge>=2.0,<3",
3838
# NOTE: Make sure to update the corresponding dependency in
3939
# `packages/jupyter-ai/package.json` to match the version range below
40-
"jupyterlab-chat>=0.18.0,<0.19.0",
40+
"jupyterlab-chat>=0.18.0",
4141
"jupyter_ai_litellm>=0.0.1",
4242
"jinja2>=3.0,<4",
4343
"python_dotenv>=1,<2",
4444
"jupyter_ai_persona_manager>=0.0.1",
4545
"langchain>=1.0.0",
4646
"langgraph-checkpoint-sqlite>=3.0.0",
4747
"aiosqlite>=0.20",
48-
"jupyter_server_documents>=0.1.a8",
48+
"jupyter_server_documents>=0.1.0a8",
4949
"jupyterlab-commands-toolkit>=0.1.2"
5050
]
5151
dynamic = ["version", "description", "authors", "urls", "keywords"]

0 commit comments

Comments
 (0)