feat: merge reply emotions while preserving configurable Qwen/Doubao provider
This commit is contained in:
@@ -16,3 +16,12 @@ This directory contains the actual deployed SPARK-2 source, not just an Android-
|
||||
8. Verify HTTPS health and authorized Origin/auth/hello/history, then run one bounded public-sample protocol check. Real Android speaker playback still needs a real phone; nonempty backend PCM does not prove audible output.
|
||||
|
||||
The v0.4.0 repair/context protocol and evidence boundaries are documented in `../docs/VOICE_REPAIR_040.md`. Archive and future deployments use this workspace's scripts with hash, backup, tests and busy checks. Archiving itself does not deploy or restart anything.
|
||||
|
||||
The 0.5.0 canonical source adds `reply_emotion.py`: one-system structured provider reply, validated one-turn role expression and reply-only speech/history. See `../docs/REPLY_EMOTION_050.md`. `scripts/deploy-gateway-source.py` in the repository root tests this complete source tree, hash-fences deployed modules, backs up and restarts only the gateway. Use that script for current releases; historical `backend/gateway.patch` is not the current restore source. `SOURCE_MANIFEST.json` includes current hashes and retained original provenance; a legacy 0.7.1 health version does not advertise feature completeness, so inspect hello capabilities.
|
||||
|
||||
|
||||
`llm_provider.py` preserves the configurable OpenAI-compatible provider interface: `LAN_LLM_BASE_URL`, `LAN_LLM_MODEL`, private `LAN_LLM_API_KEY` (Authorization header only), and optional JSON-object `LAN_LLM_CHAT_TEMPLATE_KWARGS`. Missing configuration defaults to local `http://127.0.0.1:8888/v1`, `qwen3.8-27b`, thinking disabled. Non-Qwen model defaults omit Qwen kwargs; explicit kwargs stay local to that provider. The provider's original default budget is 64; the structured dialogue explicitly requests 160. There is no automatic failover or retry. Doubao's `doubao-seed-2-1-pro` is a LiteLLM alias, not evidence of actual model weights.
|
||||
|
||||
`SOURCE_MANIFEST.json.provider_baseline` records the latest observed SPARK2 hashes before this merge, including gateway `d088bedcf5c0accd4712e06202f6ced8ab155aad57a5b05683724efa346326ce`. Deployment fences against these hashes, not the superseded historical patch. Historical `scripts/deploy-gateway.py` is disabled. The existing unit and private environment loading relationships are backed up only on the server and checked unchanged. All Python sources/tests and original modes are backed up; only gateway is restarted after isolated tests and repeated source/busy checks. Use `scripts/rollback-gateway-source.py` for this exact deployment.
|
||||
|
||||
Portable archive checks skip only the omitted Silero artifact. On the existing server, run `python scripts/check-archive.py --vad-model /absolute/path/to/models/silero_vad.onnx` for the full suite, with checksum verification and an isolated read-only artifact link. This never downloads or changes a model or online service.
|
||||
|
||||
Reference in New Issue
Block a user