Repository navigation
feat: add renderers package #1068
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
Merged
Changes from 88 commits
Commits
Show all changes
89 commits
Select commit
Hold shift + click to select a range
dbee699
feat: add renderers package and RendererClient
hallerite c559760
feat: barrage test suite + fix tool_call_no_content + DefaultRenderer…
hallerite 1704066
feat: add INTELLECT-3.1 support + Kimi K2.5 assessment
hallerite 1ad4ee2
feat: add KimiRenderer + clean up auto-detection
hallerite 3494ef1
chore: remove IntellectRenderer (needs full-string encoding approach)
hallerite 75e5d7a
refactor: shared parsing module mirroring vLLM's tool/reasoning parsers
hallerite e4c4541
refactor: Tinker-style token-level parsing — scan token IDs, not deco…
hallerite 3ef054a
fix: stop token stripping + <think> cleanup in token-level parsing
hallerite 815c397
run ruff
hallerite ef8cd2a
chore: remove KimiRenderer + dead messages.py module
hallerite cfc9ac2
style: ruff format + check
hallerite 3855444
feat: update proxy to use /v1/generate with VLM image support
hallerite 77c0373
feat: switch training clients to renderers
hallerite 49e1e5f
fix: harden renderer proxy routing
hallerite 070c5da
refactor: simplify renderer transport
hallerite 5fc53aa
feat: add renderers for DeepSeek V3, Kimi K2/K2.5, Nemotron 3, GPT-OS…
hallerite e42b025
style: ruff check + format
hallerite 57db953
fix: resolve ty type errors at renderer/OpenAI boundary
hallerite cc3217d
refactor: RendererClient inherits from Client directly, not OpenAICha…
hallerite 74df920
Merge remote-tracking branch 'origin/main' into renderers
hallerite fa5f015
merge: origin/main into renderers
hallerite b5f804e
feat: thread-pooled tokenization for parallel rollouts
hallerite 5f292ae
Add stateful renderer prompt stitching
hallerite acd7f53
Enable stateful renderer stitching for VLM prompts
hallerite ca41eca
Add extension-break observability and end-to-end renderer tests
hallerite c4e50e4
fix(qwen3-vl): emit un-expanded image placeholders for vLLM
hallerite 2d8cc29
fix(renderer-client): surface vLLM's server-expanded prompt_token_ids
hallerite 7f44237
Revert "fix(renderer-client): surface vLLM's server-expanded prompt_t…
hallerite 84079aa
perf(renderer-pool): parallelize tokenizer init, drop default size to 16
hallerite d420651
perf(renderer-pool): default pool size 1
hallerite c3eaea3
feat(renderers): warn on DefaultRenderer auto-detect fallback
hallerite 939a633
refactor(renderers-client): drop unused image-extraction path
hallerite 1d308d2
feat(renderers): pluggable tool_parser / reasoning_parser for Default…
hallerite 0e95edf
feat(renderer-client): expose pool size via ClientConfig
hallerite 9c5ad2b
fix(bridge): synthesize close token when prev completion was truncated
hallerite f47ba32
feat(bridge): gate synthesize-close on per-renderer opt-in
hallerite fb6ecb9
fix(bridge): let truncated steps anchor the bridge when synth is opte…
hallerite d3771a5
test(renderer-client): cover bridge-over-truncated-anchor across all …
hallerite 10c6a05
feat(bridge): per-renderer bridge_to_next_turn hook + Qwen3.5 bridge fix
hallerite 4a4f4b0
feat(bridge): GLM bridge_to_next_turn (handles next-turn-marker templ…
hallerite 891da50
feat(bridge): chatml_bridge helper + per-renderer bridge_to_next_turn…
hallerite 3f46828
fix(nemotron3): support tokenizers without <|endoftext|>
hallerite 338f6b7
feat(bridge): harmony-aware bridge_to_next_turn for GptOssRenderer
hallerite 02fe986
test(renderers): render → parse round-trip parity + fix string-arg to…
hallerite 9020f70
test(renderers): expand round-trip matrix + fix Kimi/GPT-OSS parsing …
hallerite 7ae1f59
feat(renderers): GLM-5.1 + Kimi K2 + Nemotron-3 parity against apply_…
hallerite 7d2f7f7
feat(renderers): full parity wave 2 — Nemotron3/MiniMax tool BPE + in…
hallerite 6f89c38
refactor(bridge): hand-coded bridge_to_next_turn per renderer; kill d…
hallerite c499099
fix(renderer-client): forward cache_salt from extra_body to /v1/generate
hallerite fafea87
refactor(model-map): exact-name match instead of longest-prefix
hallerite bcd44c9
fix(client): promote finish_reason stop->tool_calls when tool_calls p…
hallerite 3e6b7c4
fix(default): decode tool_call arguments strings before chat template
hallerite 2e30fd0
fix(parser): preserve whitespace at <think>/</think> boundary
hallerite 8ab276e
fix(client): normalize tool_call.arguments as JSON in incremental match
hallerite 4cf8d49
chore(client): add WARN-level trace in _get_incremental_prompt_ids
hallerite 7435307
chore(client): split no_tokens trace into sub-cases
hallerite 14fb3c9
fix(client): fall back to raw response tokens when step.tokens was tr…
hallerite dba2e97
fix(parse_qwen3): fall back to raw content when tool_call JSON malformed
hallerite 5d65e3f
feat(client): categorize extension breaks in _get_incremental_prompt_ids
hallerite c58da4a
docs(renderers): expand README for external audience
hallerite 7136de5
feat(renderers): add Qwen3.6 renderer
hallerite 7b86d14
Merge remote-tracking branch 'origin/main' into renderers
hallerite 3d2b16c
fix(client): catch vLLM overlong-prompt 400s and add /generate diagno…
hallerite d519870
fix(client): recover tool function name on tool-result render
hallerite e6c9367
feat(client): broaden vLLM /generate kwargs allowlist + extra_headers…
hallerite cd2d991
fix(renderers): bugbot-flagged edge cases on gpt_oss bridge, kimi_k2 …
hallerite 623b9e6
test(renderers): assert message_indices invariants + Kimi K2 regression
hallerite bccc488
fix(renderers): K2.5/K2.6 token-for-token parity + drop dead minimax …
hallerite d2dcfe9
chore(tests): drop stale GLM-5.1 caveat from conftest comment
hallerite b11b9ca
fix(renderers/kimi_k25): tools encoder accepts flat ToolSpec format
hallerite 5588f71
feat(renderers/gpt_oss): rewrite as openai-harmony adapter
hallerite 748d03e
chore(clients): restore TITO path alongside renderer client
hallerite 8e632d8
fix(renderers/kimi_k2): drop unused locals flagged by ruff F841
hallerite 95a2336
chore(renderer-client): hoist imports above module helpers (ruff E402)
hallerite 75c8ec3
fix(tests): align stale fixtures + xfail two unimplemented features
hallerite 56063cb
style: apply ruff format across renderers package and renderer-client…
hallerite 5e199dc
docs: re-add OpenAIChatCompletionsTokenClient (TITO) alongside Render…
hallerite 17358ee
refactor(renderers): rename build_supervised_sample → build_training_…
hallerite b14033e
fix: cleanup-review small fixes
hallerite 9afd448
refactor(renderer-client): drop extension-break diagnostic path
hallerite 69c2b4c
refactor(renderers): drop synth-close flag and strip multimodal
hallerite 5648765
chore: address Mika's cheap review comments
hallerite ebb2658
docs: explain renderer client type in training docs and FAQs
hallerite 1ac41b4
docs: mark renderer client experimental, recommend TITO for production
hallerite 1d991b6
refactor(renderer-client): move helpers above class to match other cl…
hallerite aa2ac32
style: ruff format trailing newlines in test_renderer_e2e
hallerite e2ede3f
fix(kimi_k25): emit tool_declare messages from content + drop dead arg
hallerite 547b5e6
fix(kimi_k2): render assistant content verbatim, including inline <th…
hallerite ee6cdb5
fix(renderer-client): propagate id, model, created from /generate
hallerite File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.