LostRuins / koboldcpp

Run GGUF models easily with a KoboldAI UI. One File. Zero Install.
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
4.66k stars 334 forks source link

--port argument not functional #23

Closed na-na-hi closed 1 year ago

na-na-hi commented 1 year ago

When launched with --port [port] argument, the port number is ignored and the default port 5001 is used instead:

$ ./koboldcpp.exe  --port 9000 --stream
[omitted]
Starting Kobold HTTP Server on port 5001
Please connect to custom endpoint at http://localhost:5001?streaming=1

Positional port argument (./koboldcpp.exe [model_file] [port]) works as intended.

LostRuins commented 1 year ago

This should be fixed in the latest version.

na-na-hi commented 1 year ago

It's working properly with the latest version now, thanks.