Skip to content

server : fix hardcoded /inference path in default HTML page#3639

Merged
ggerganov merged 1 commit into
ggml-org:masterfrom
sidmohan0:fix/server-inference-path-html
Feb 9, 2026
Merged

server : fix hardcoded /inference path in default HTML page#3639
ggerganov merged 1 commit into
ggml-org:masterfrom
sidmohan0:fix/server-inference-path-html

Conversation

@sidmohan0

@sidmohan0 sidmohan0 commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

The default HTML index page hardcodes /inference in the form action and curl example, ignoring --inference-path and --request-path. This causes a 404 when using a custom inference path.

Fix: use sparams.request_path + sparams.inference_path in the HTML template, matching how the actual POST endpoint is registered.

AI Disclosure
Built with Claude (AI-assisted). Fully tested locally.

Closes #3596

@ggerganov ggerganov merged commit eb27fa2 into ggml-org:master Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

form action is still /inference on index-page even when changing it using --inference-path

2 participants