Run as a LiteLLM sidecar: reasoning, failover errors, usage, image - #1
Merged
Merged
Conversation
…, usage, container image Fixes found against the live gateway and the reverse-engineered wire protocol: reasoning streamed as content, errors swallowed into a 200 (and late events writing to an ended response), zero usage, tool-call input sent as a JSON string, image parts in the wrong shape, missing session headers, and a CLI version header pinned 12 releases stale. Adds a Dockerfile, unit tests, and an image workflow that publishes sha-<commit> tags. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The org Universal ruleset requires the gatekeeper check and code-scanning results on main. The caller distributor had not reached this fork yet, so add the public-repo callers (gatekeeper, static analysis, agent readiness, Dependabot auto-merge) from the hub and a CodeQL workflow for JavaScript and Actions. Pin the image workflow's actions to commit SHAs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
nas-aistack in seankoji-com/careynas.net). The full list is in the README's "Fork changes" table.reasoning_contentinstead of being mixed intocontentinputwas sent as a JSON string instead of an objectx-session-idandx-cli-environmentheaders were missingnodeuser with a healthcheck, logs to stdout only, graceful SIGTERM, and the Windowsnetstat/taskkillcode removed.ghcr.io/seankoji-com/proxy-commandcode:sha-<commit>on every branch push. It runs on GitHub-hosted runners because the org's self-hosted runner groups refuse public repos.Test plan
npm test: 6/6 pass locally and in CIsha-c922ce4built, pulled on the NAS (amd64, usernode)🤖 Generated with Claude Code