All-Hands-AI / OpenHands

🙌 OpenHands: Code Less, Make More
https://all-hands.dev
MIT License
37.36k stars 4.23k forks source link

feat(frontend): Integrate `axios` for client requests #5255

Open amanape opened 7 hours ago

amanape commented 7 hours ago

End-user friendly description of the problem this fixes or functionality that this introduces Managing request options at scale can become challenging, especially when dealing with authentication headers, custom configurations, timeout policies, and consistent error handling.


Give a summary of what the PR does, explaining any non-trivial design decisions


Link of any specific issues this addresses


To run this PR locally, use the following command:

docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:b4a1127-nikolaik   --name openhands-app-b4a1127   docker.all-hands.dev/all-hands-ai/openhands:b4a1127