OpenHands+Grok
OpenHands+Grok
api key申请: https://console.x.ai/
prompt
1.Explain the function and purpose of this project based on the source code in the GitHub repository.
2.Generate the page like this picture using HTML and CSS.
3.Create a chatbot similar to ChatGPT, mimicking its style and functionality. The chatbot should use OpenAI API, specifically the “gpt-4o” model from OpenAI. It should also have a feature to record conversation history, with the history displayed in a left-hand sidebar. Choose the most suitable UI framework for the interface, and use a lightweight Python framework for the backend.
安装
docker pull docker.all-hands.dev/all-hands-ai/runtime:0.13-nikolaik
docker run -it --pull=always \
-e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.13-nikolaik \
-v /var/run/docker.sock:/var/run/docker.sock \
-p 3000:3000 \
--add-host host.docker.internal:host-gateway \
--name openhands-app \
docker.all-hands.dev/all-hands-ai/openhands:0.13
Comments