mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4840] [Engine] Direction: which vLLM and SGLang API extensions are worth adding for local coding agents? #2223
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2223
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gdevenyi on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4840
Area
[Engine] (speed, kernels, models, the server and API)
What do you want to do?
I am asking for direction: which vLLM and SGLang API extensions are worth adding to Strata, if any? I ranked them by value for one person running a coding agent against a local model.
This comes from reading source. Nothing was run against vLLM or SGLang. I read vLLM at
7b77ed5and SGLang atfb9846d, and searched Strata'sserve/atc62d5e3a. Treat every "Strata does not have this" as unconfirmed static analysis. The value ratings are my judgment. None is measured. I left out what Strata already has.Most of the value is in rows 1 to 4 below, and those already have threads. For those, the useful step is probably review, not new work.
ignore_eoshas its own PR: #4837,[Engine] add vLLM's ignore_eos request field, as server-side continuation. It is not part of this question.With an open thread that covers it
structural_tag, constrained tool callsdefer_loading,tool_referenceANTHROPIC_BASE_URL.serve/frontend.py:226leavestool_referenceout of the prompt. I did not capture a Claude Code trace. If it does not send these here, the value is low.repetition_detection/v1/models(max_model_len), andGET /v1/models/{id}thinkingfield on chat/v1/completions, then token-id prompts,echoandsuffixthinking_token_budgetnamestream_options.continuous_usage_stats/v1/score,/v1/decisionssession_idWith no open thread that asks for it
/v1/tokenize,/v1/detokenizelogit_bias. Today only/v1/messages/count_tokenscounts. Agents here do not depend on it./v1/chat/completions/render,return_prompt_textcontinue_final_message, DeepSeek'sprefix: trueparallel_tool_calls: falsehonouredreasoningfield name,include_reasoningreasoningcould lose thinking from history and miss the prefix. I found no client that does this, so check first.matched_stop,stop_token_idsmatched_stopis the cheapest, and could help diagnose stop bugs.X-Request-Id,rid, an abort routecompletion_tokens_details.reasoning_tokenson chatreturn_token_ids,input_idson chatseparate_reasoning,stream_reasoning/flush_cache/v1/embeddings,/v1/rerank/api/chat,/api/generate,/api/tags,/api/showWhat I am asking. Which rows, if any, would you take? A yes or no per row is enough. I will not open a PR from the second table without a yes, and I would not start on the first table where a PR is already open.
What do you do today instead?
/v1/messages/count_tokens, or a local tokenizer.reasoning_effortorchat_template_kwargs, where the client can set them.--api-monitor, which keeps the newest 100 in memory.POST /unload, then/load.Written with an AI agent (Claude Code), which read both code bases and searched the threads.
🤖 Generated with Claude Code
https://claude.ai/code/session_01W53iURzvDQMjnYemag8uvv