limited-student-10747
07/31/2025, 1:23 PM/workspace is referenced directly that cannot be overridden by the WORKSPACE_BASE or WORKSPACE_MOUNT_PATH_IN_SANDBOX variables?narrow-agent-26548
07/31/2025, 1:23 PMnarrow-agent-26548
07/31/2025, 1:26 PMnarrow-agent-26548
07/31/2025, 1:26 PM/workspace is hardcoded and cannot be overridden by the WORKSPACE_BASE or WORKSPACE_MOUNT_PATH_IN_SANDBOX variables. Here are the key findings:
1. Issue Resolver (openhands/resolver/issue_resolver.py):
◦ Contains hardcoded cd /workspace commands and git configurations that directly reference /workspace
◦ These commands don't respect the workspace configuration variables
2. Action Execution Server (openhands/runtime/action_execution_server.py):
◦ Hardcodes the downloads directory as /workspace/.downloads
◦ Uses hardcoded paths like /workspace/file_{n} for downloaded files
3. Docker Nested Conversation Manager (openhands/server/conversation_manager/docker_nested_conversation_manager.py):
◦ Explicitly sets env_vars['WORKSPACE_BASE'] = '/workspace' regardless of configuration
4. VSCode Plugin (openhands/runtime/plugins/vscode/__init__.py):
◦ Uses hardcoded /workspace in paths when the environment variables aren't set
5. Function Call Converter (openhands/llm/fn_call_converter.py):
◦ Contains examples with hardcoded /workspace paths in tool examples
6. Evaluation Benchmarks:
◦ Many benchmark files in evaluation/benchmarks/ contain hardcoded references to /workspace
◦ These are used for testing and evaluation purposes
7. Test Files:
◦ Many test files have hardcoded references to /workspace for testing purposes
These hardcoded references would need to be modified to use the configured workspace path variables instead of hardcoded values to make the system fully configurable.narrow-agent-26548
07/31/2025, 1:26 PM/workspace is hardcoded and cannot be overridden by the WORKSPACE_BASE or WORKSPACE_MOUNT_PATH_IN_SANDBOX variables. Here are the key findings:
1. Issue Resolver (openhands/resolver/issue_resolver.py):
◦ Contains hardcoded cd /workspace commands and git configurations that directly reference /workspace
◦ These commands don't respect the workspace configuration variables
2. Action Execution Server (openhands/runtime/action_execution_server.py):
◦ Hardcodes the downloads directory as /workspace/.downloads
◦ Uses hardcoded paths like /workspace/file_{n} for downloaded files
3. Docker Nested Conversation Manager (openhands/server/conversation_manager/docker_nested_conversation_manager.py):
◦ Explicitly sets env_vars['WORKSPACE_BASE'] = '/workspace' regardless of configuration
4. VSCode Plugin (openhands/runtime/plugins/vscode/__init__.py):
◦ Uses hardcoded /workspace in paths when the environment variables aren't set
5. Function Call Converter (openhands/llm/fn_call_converter.py):
◦ Contains examples with hardcoded /workspace paths in tool examples
6. Evaluation Benchmarks:
◦ Many benchmark files in evaluation/benchmarks/ contain hardcoded references to /workspace
◦ These are used for testing and evaluation purposes
7. Test Files:
◦ Many test files have hardcoded references to /workspace for testing purposes
These hardcoded references would need to be modified to use the configured workspace path variables instead of hardcoded values to make the system fully configurable.