change chatgpt api port from 8000 to 52415

This commit is contained in:
Alex Cheema
2024-11-16 10:58:55 +04:00
parent f1eec9fa64
commit f2d5beee08
7 changed files with 11 additions and 11 deletions

View File

@@ -121,14 +121,14 @@ exo
That's it! No configuration required - exo will automatically discover the other device(s).
exo starts a ChatGPT-like WebUI (powered by [tinygrad tinychat](https://github.com/tinygrad/tinygrad/tree/master/examples/tinychat)) on http://localhost:8000
exo starts a ChatGPT-like WebUI (powered by [tinygrad tinychat](https://github.com/tinygrad/tinygrad/tree/master/examples/tinychat)) on http://localhost:52415
For developers, exo also starts a ChatGPT-compatible API endpoint on http://localhost:8000/v1/chat/completions. Examples with curl:
For developers, exo also starts a ChatGPT-compatible API endpoint on http://localhost:52415/v1/chat/completions. Examples with curl:
#### Llama 3.2 3B:
```sh
curl http://localhost:8000/v1/chat/completions \
curl http://localhost:52415/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.2-3b",
@@ -140,7 +140,7 @@ curl http://localhost:8000/v1/chat/completions \
#### Llama 3.1 405B:
```sh
curl http://localhost:8000/v1/chat/completions \
curl http://localhost:52415/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.1-405b",
@@ -152,7 +152,7 @@ curl http://localhost:8000/v1/chat/completions \
#### Llava 1.5 7B (Vision Language Model):
```sh
curl http://localhost:8000/v1/chat/completions \
curl http://localhost:52415/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "llava-1.5-7b-hf",