Oscar Peer

Results comments of Oscar Peer

I just looked now into this issue. Should we verify whether file locations are dangerous or outside a system sandbox before writing? Below is the existing write_file code: ``` def...

Even if the user isn't running in a sandbox, do you still think we should verify before reading or writing to a file?

This does troubleshooting for local llms, packages, API keys and file systems. Basically, if open-interpreter has a problem you can use this argument to cleanly diagnose what's wrong.

Your tests are failing because variables are uninitialised: `/__w/CLI11/CLI11/tests/NewParseTest.cpp:687:11: error: variable 'color' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 687 | Color color; | ^ /__w/CLI11/CLI11/tests/NewParseTest.cpp:688:11: error: variable 'other_color' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]...

The tests are failing because the `color` and `other_colour` variables are unanitialised. Below is the error trace: `/__w/CLI11/CLI11/tests/NewParseTest.cpp:687:11: error: variable 'color' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] 687 | Color color; |...

I’ve traced the issue and can confirm the inconsistency. HTTP routes appear to be prefixed at definition time via `SubRouter.__add_prefix()`, while WebSocket routes receive additional prefix handling during `include_router()`. As...

I wrote a fix for this. I'll add it as a PR tomorrow.