You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the neural network response, a situation may occur in which the first few words used to generate the file name contain the \n character, which is not removed during the check in the interpreter\core\core.py file (284 line) and an OSError will be generated.
The easiest solution I see is to add the character \n to the list of characters on line 272.
Now: '<>:"/\|?!'
Will be: '<>:"/\|?!\n'
Reproduce
You just need to compose a query where the neural network uses a line break in the first few characters.
Expected behavior
Successful creation of the file was expected.
Screenshots
Open Interpreter version
0.3.7
Python version
3.10.11
Operating System name and version
Windows 11
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
During the neural network response, a situation may occur in which the first few words used to generate the file name contain the \n character, which is not removed during the check in the interpreter\core\core.py file (284 line) and an OSError will be generated.
The easiest solution I see is to add the character \n to the list of characters on line 272.
Now: '<>:"/\|?!'
Will be: '<>:"/\|?!\n'
Reproduce
You just need to compose a query where the neural network uses a line break in the first few characters.
Expected behavior
Successful creation of the file was expected.
Screenshots
Open Interpreter version
0.3.7
Python version
3.10.11
Operating System name and version
Windows 11
Additional context
No response
The text was updated successfully, but these errors were encountered: