Skip to content

Support repository hosting and Alibaba Token Plan models - #287

Draft
bencode wants to merge 3 commits into
mainfrom
feat/repository-hosting
Draft

bencode wants to merge 3 commits into
mainfrom
feat/repository-hosting

Conversation

@bencode

@bencode bencode commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Change

Docker Compose can host a public Git repository by forwarding source settings and selecting the existing runtime-git target. A configurable host port and separate Compose project let a knowledge library run alongside the default reader.

Add pi's native qwen-token-plan-cn provider to the server and browser runtime. QWEN_TOKEN_PLAN_CN_API_KEY enables DeepSeek V4.1 Flash, Qwen3.8 Flash, DeepSeek V4 Pro and Qwen3.8 Max. GLM-5.3 remains the default; provider credentials stay server-side, and all server-provided models use the existing quota guard.

Validation

  • pnpm check passed: 755 tests, including credential-dependent model configuration and browser model selection/proxy routing. Existing navigation/history timing failures occurred on earlier runs; the final full run passed. Four existing p5 lint warnings remain.

  • pnpm build passed.

  • docker compose config validated default hosting and the repository-hosting example.

  • The non-date DeepSeek aliases were validated by actual model calls. The legacy deepseek-v4-flash alias is denied for this credential, so the Flash entry uses deepseek-v4.1-flash.

  • Deployed Brain on commit 4d408bc; the two undated DeepSeek aliases returned successful replies through its actual server proxy. Browser verification showed all five chat models with GLM-5.3 selected by default.

@bencode bencode changed the title Support hosting Git repositories with Docker Compose Support repository hosting and Alibaba Token Plan models Oct 28, 2026
This was referenced Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant