Repository navigation
feat: SystemOne / TypeSafe API compatibility and multi-variant Docker image matrix - #1
Merged
Merged
Conversation
…emove deploy manifest
…mapping and aliases
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
This PR integrates changes from the fork
auenkr/docker-layawith comprehensive refactoring for dual API support, unified schemas, and a multi-variant container publishing pipeline.✨ Added
POST /v1/systemoneand root aliasPOST /systemone, fully compliant with the OpenRouter System One specification and TypeSafe SDKs.SystemOneRequest,SystemOneResponse,SystemOneChoiceAnswer,SystemOneScoreAnswer, andSystemOneNoulAnswer.laya-english,english,typesafe/*,laya/*,jev-1.13, etc.id,provider: "Laya",usage)..github/workflows/publish.ymlto build and publish multi-arch (linux/amd64andlinux/arm64) images across multiple tags::latest/:vX.Y.Z(Slim, ~300 MB, dynamic model download on startup):english/:vX.Y.Z-english(Pre-baked English model, ~1.3 GB, offline-ready):multilingual/:vX.Y.Z-multilingual(Pre-baked Multilingual model, ~1.8 GB):typed-decisions/:vX.Y.Z-typed-decisions(Pre-baked Typed-Decisions model, ~1.3 GB):all/:vX.Y.Z-all(Full bundle with all 3 models, ~3.5 GB)make build-model MODEL=<name>to Makefile for building local pre-baked images.🔄 Refactored & Unified
ChoiceQuestion,ScoreQuestion, andNoulQuestionto supportInstructionValue(str | dict | list), removing duplicate schema definitions./predict,/predict/bulk,/models,/presets,/detect,/email/state,/healthz) alongside/v1/systemone./data/hfpermissions before preloading underUSER appuserto prevent model layer duplication while preserving online dynamic fetching for slim images.openapi.jsoncovering all 8 endpoints and clean schemas.README.mdwith image tag tables, configuration options, and curl examples for both native and SystemOne endpoints.🗑️ Removed
deploy/laya-deployment.yaml)._PRESET_NAMESconstant inapp/main.py.