Fix for nested mount volumes (#8888)

This commit is contained in:
tofarr
2025-06-04 09:30:57 -06:00
committed by GitHub
parent c403973616
commit 3c977bd715
2 changed files with 2 additions and 2 deletions

View File

@@ -440,8 +440,9 @@ class DockerNestedConversationManager(ConversationManager):
else:
volumes = [v.strip() for v in config.sandbox.volumes.split(',')]
conversation_dir = get_conversation_dir(sid, user_id)
volumes.append(
f'{config.file_store_path}/{conversation_dir}:{OpenHandsConfig.model_fields["file_store_path"].default}/{conversation_dir}:rw'
f'{config.file_store_path}/{conversation_dir}:/root/openhands/file_store/{conversation_dir}:rw'
)
config.sandbox.volumes = ','.join(volumes)