-
Notifications
You must be signed in to change notification settings - Fork 14k
server : add development documentation #17760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
@allozaur FYI, I didn't modify web UI docs (just moved it from main README to here), but feel free to update it if needed |
|
|
||
| *Before submitting an issue, please try to reproduce it with this format.* | ||
|
|
||
| ## Node JS Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed this section as it's duplicated with the example under "More examples"
yeah, i'll take a look and add WebUI-related docs if relevant :) |
|
|
||
| - All JSON formatting and chat template logic must stay in the HTTP layer. | ||
| - Avoid passing raw JSON between the HTTP layer and `server_slot`. Instead, parse everything into native C++ types as early as possible. | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: add a trace to demonstrate the data flow of a completion request
Providing some guidelines for maintainers and contributors.
LLM is used in proofreading this documentation. The first draft (written by human) can be found in 711e29e