A LLM interface that pays homage to rabbit r1 on Playdate.
Warning
The project is in the early and experimental stages and may be very unstable and unavailable.
- Download code: via
Code
-Download ZIP
- Install python
- Navigate to the
server
directory - Configure your LLM api: Create
config.json
inserver
directory with the following content (openai compatible format, You can find it in the development documents of various LLM provider.)
{
"open_ai_base_url" : "https://YourLLMServiceAPIBaseUrl",
"open_ai_api_key" : "your api key",
"open_ai_modelname" : "api model name, like llama3-70b-8192"
}
- Install python dependencies
pip install -r requirements.txt
- Run
python server.py
, start the service (By default it will run at http://127.0.0.1:5001/llmproxy)
- Download pdx in release and sideload it to your playdate
- Open puppy on playdate
- Connect playdate to the computer via USB, open https://pdportal.net/ on the desktop browser, and click connect (make sure the playdate emulator is not opened, etc. to occupy its USB port program of)
- If everything goes well, communication should be possible!
- hold down button and rotate playdate to change modes