OpenInterpreter / 01

The open-source language model computer
http://openinterpreter.com/01
GNU Affero General Public License v3.0
4.76k stars 470 forks source link

ISSUE With poetry run 01 --server --expose #199

Closed tajakmal closed 3 months ago

tajakmal commented 3 months ago

When running poetry run 01 --server --expose I get two errors or callouts. One in the terminal that says:

`○

Starting...

Exposing server to the internet...

INFO: Started server process [37924] INFO: Waiting for application startup.

Ready.

INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:10001 (Press CTRL+C to quit)

Your server is being hosted at the following URL: https://2f7e-67-205-253-220.ngrok-free.app INFO: 67.205.253.220:0 - "GET / HTTP/1.1" 405 Method Not Allowed INFO: 67.205.253.220:0 - "GET /favicon.ico HTTP/1.1" 404 Not Found`

The other on the browser: {"detail":"Method Not Allowed"}

Expected behavior I wanted to test out before soldering everything together.

Screenshots

Screenshot 2024-03-30 at 9 40 33 AM Screenshot 2024-03-30 at 9 40 26 AM

Desktop (please complete the following information):

tyfiero commented 3 months ago

There is no GET endpoint for the 01 repo, it all happens over websockets. When you paste the link in the browser it just makes a GET request, as you can see in the logs. You can try the library https://github.com/vi/websocat to test the websocket in your CLI!

tajakmal commented 3 months ago

You’re right - totally missed lol but yes I have everything working!

On Sat, Mar 30, 2024 at 3:29 PM Ty Fiero @.***> wrote:

There is no GET endpoint for the 01 repo, it all happens over websockets. When you paste the link in the browser it just makes a GET request, as you can see in the logs. You can try the library https://github.com/vi/websocat to test the websocket in your CLI!

— Reply to this email directly, view it on GitHub https://github.com/OpenInterpreter/01/issues/199#issuecomment-2028449370, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHWXDGZFQXXAIFMVCRYFVLY24HAPAVCNFSM6AAAAABFPSIZT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGQ2DSMZXGA . You are receiving this because you authored the thread.Message ID: @.***>