Skip to content

Unable to use recursive=True on watch_dir for beta version with persistence #676

Open
@suhjohn

Description

@suhjohn
    |   File "/Users/johnsuh/code/internal-chat/backend/.venv/lib/python3.12/site-packages/starlette/responses.py", line 253, in wrap
    |     await func()
    |   File "/Users/johnsuh/code/internal-chat/backend/.venv/lib/python3.12/site-packages/starlette/responses.py", line 242, in stream_response
    |     async for chunk in self.body_iterator:
    |   File "/Users/johnsuh/code/internal-chat/backend/app/services/conversation_service.py", line 363, in create_message_service
    |     raise e
    |   File "/Users/johnsuh/code/internal-chat/backend/app/services/conversation_service.py", line 340, in create_message_service
    |     async for res in fn(db, context):
    |   File "/Users/johnsuh/code/internal-chat/backend/app/services/pipelines/handlers.py", line 315, in yield_agentic_anthropic
    |     async for response in yield_step(
    |   File "/Users/johnsuh/code/internal-chat/backend/app/services/pipelines/handlers.py", line 351, in yield_step
    |     file_watch_handler = await sandbox.files.watch_dir(
    |                                ^^^^^^^^^^^^^^^^^^^^^^^^
    | TypeError: Filesystem.watch_dir() got an unexpected keyword argument 'recursive'

on + e2b-code-interpreter==1.2.0b1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions