Repository navigation
fix(spine): keep the opening of thinking-model answers (bump openhuman for tinyinference list content) - #116
Merged
Merged
Conversation
Add the captured output of the target build so the build results are available for reference. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
Extend the captured build log with the additional crates compiled during the latest build, keeping the recorded output in sync with the current dependency graph. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
Extend the captured build log with the remaining compilation output from the list-content-sse worktree build, including the openhuman-core and vendored tiny* crates. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
…ening Moves vendor/openhuman to 04b9aa90f7 (tinyhumansai/openhuman#8671), which carries tinyhumansai/tinyinference#150 through tinyhumansai/tinyagents#609. The OpenAI-compatible provider used by local-openai now reads delta/message content sent as a list of thinking and text parts (Surplus glm-5.3-flash) instead of dropping the chunk and the first words of the answer with it. Co-authored-by: Medulla <medulla@tinyhumans.ai>
Resolves the vendor/openhuman gitlink to 4e3e643c65: main's pin 1a97319 (headless-keyring, tinyhumansai/openhuman#8670) plus the tinyagents bump that carries tinyhumansai/tinyinference#150. Co-authored-by: Medulla <medulla@tinyhumans.ai>
Same composite pin (headless-keyring 1a97319 + the tinyagents bump), now carrying tinyinference 3c4aa88: a skipped SSE chunk's truncated payload is logged at DEBUG, not on the WARN line. Co-authored-by: Medulla <medulla@tinyhumans.ai>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bug
The spine's
local-openaiprovider talks to Surplus (glm-5.3-flash, OpenAI-compatible streaming/chat/completions). When the model thinks first, Surplus streamsdelta.contentas a list of typed parts. Raw frames captured live on 2026-11-11:tinyinference typed
contentasOption<String>, and its SSE parser silently skipped any chunk that failed to deserialize. The transition chunk carries the first visible words, so they went with it. About 1 reply in 3 lost its opening ("ALPHA BRAVO CHARLIE" became " BRAVO CHARLIE" / " CHARLIE"). That broke:{"reasonlost){"memory": "#lost: "no JSON object in the answer")When the model doesn't think, every chunk is a plain string and nothing was lost.
Fix (upstream, in the owning repo)
tinyhumansai/tinyinference#150 accepts
contentas a string or a list of parts:textparts are visible text.thinking/reasoningparts go to the reasoning channel, likereasoning_content, and never become visible.Non-streaming responses get the same treatment. A chunk that still cannot be read is now warned about (the truncated payload only at DEBUG), not dropped silently.
This PR
Bumps
vendor/openhumanfrom1a97319toa8e10dff30. Nothing else.1a97319is whatmainpins today:senamakel/openhuman:headless-keyring, open as fix(credentials): keep profile secrets out of the interactive keyring on a file-keyring core tinyhumansai/openhuman#8670.a8e10dff30is1a97319plus the one-linevendor/tinyagentsbump (b6ed4606e→75a2b99d6, chore(vendor): bump tinyinference to read list-shaped content parts tinyhumansai/tinyagents#609). That bump movesvendor/tinyinferenceto tinyinference#150's head3c4aa88, the path brain's and openhuman's[patch."https://github.com/tinyhumansai/tinyinference"]point at.senamakel/openhuman:list-content-sse-keyring. The upstream PR for the same bump against openhuman main is chore(vendor): bump tinyagents for list-shaped content parts in tinyinference tinyhumansai/openhuman#8671.vendor/openhumanat the openhumanmaincommit that contains both.Other tinyinference copies nested in openhuman (
tinycomputer/,tinysecurity/,tinyjuice/vendor/tinyagents/,tinyvoice/vendor/tinyagents/) are not on the spine's patched path and are untouched.Verification
" CHARLIE"before the fix and"ALPHA BRAVO CHARLIE"(reasoning" user wants.") after. A plain-string guard test passes before and after.cargo test -p tinyinference-llm: 871 passed. fmt, clippy-D warningsand doc are clean.cargo build --release --locked -p teeny-spinefrom this branch's root: passes (noCARGO_TARGET_DIR, no lockfile change).Merge order
tinyhumansai/tinyinference#150 → tinyhumansai/tinyagents#609 → tinyhumansai/openhuman#8671 (and #8670) → this. Use merge commits, not squash, so the pinned heads stay reachable.
Refs tinyhumansai/tinyinference#150
Refs tinyhumansai/tinyagents#609
Refs tinyhumansai/openhuman#8671
Refs tinyhumansai/openhuman#8670