RAI is a multi-vendor agent framework for robotics, utilizing Langchain and ROS 2 tools to perform complex actions, defined scenarios, free interface execution, log summaries, voice interaction and more.
Apache License 2.0
164
stars
18
forks
source link
Refactor platform-dependent paths for cross platform compatibility #261
Is your feature request related to a problem? Please describe.
The current codebase contains several instances of platform-dependent file paths, which can cause issues when running the software on different operating systems. This lack of cross-platform compatibility may lead to errors and inconsistent behavior across different environments.
Describe the solution you'd like
We should refactor the code to use platform-independent path handling. This can be achieved by:
Using Python's pathlib module instead of string concatenation for file paths.
Replacing hardcoded path separators with os.path.join() or pathlib.Path.joinpath().
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Is your feature request related to a problem? Please describe. The current codebase contains several instances of platform-dependent file paths, which can cause issues when running the software on different operating systems. This lack of cross-platform compatibility may lead to errors and inconsistent behavior across different environments.
Describe the solution you'd like We should refactor the code to use platform-independent path handling. This can be achieved by:
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context