-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: GET request for files using wrong path in autogenstudio #1296
Comments
Same on Windows 10 with standard installation using anaconda, no change of the default setup, just tried the same use case with exactly the same result as reported by tjb4578. Additional Informationautogenstudio 0.0.27a0 |
Hi all, Thanks for triaging this. Like you mention, I believe this is a windows-related issue where some code that works correctly on linux resolves incorrectly on windows. I'll take a look later today and report on what I find. |
(Hopefully someone finds this useful) I managed to patch this by simply making a soft symbolic link loop to correct the behaver. (didn't feel like compiling a fix from source so a no-code solution is as follows) Incidentally I would recommend solving the OS path issues by implementing the 'pathlib' library. for example Windows uses "" instead of "/" which can be a major issue on cross platform use but pathlib just deals with that. from what i can see the point of failure in the function is line 184 :: uid = dest_dir.split("/")[-1] References: |
Thanks for the note. I think you are right. |
This has been addressed and tested to work on windows. |
Describe the bug
After executing the sine wave example, the sine_wave.png file does not display. I then tried my own custom example and the same thing happened. The terminal shows that the GET request for the file ended in a 404.
Here is the actual path to the file:
I'm not sure where the second
user
is coming from in the GET request. It looks like it might be a concatenation issue. I'm running this on Windows 11 with Mistral Instruct 7B running on LM Studio. I tweaked the default system message slightly to remove the TERMINATE command, as this was causing autogen to terminate before the task was completed successfully. Not sure if that would have any bearing on this though.Steps to reproduce
No response
Expected Behavior
The GET request should use the correct URI and return a 200.
Screenshots and logs
Additional Information
Autogen version: 0.0.27a0
Operating System: Windows 11
Python Version: 3.10.6
The text was updated successfully, but these errors were encountered: