fix(engines): 候补模型顶替时的实时预览状态与隐私说明 - #94
Merged
Merged
Conversation
- status_with 按账本取第一个仍有额度的模型(open_order,与引擎的链同序) - 整段识别模型顶替实时模型时,实时预览显示暂不可用,输出方式按整段输出生效 - TS 镜像与 mock 按同一规则计算,桌面不再提示下载模型
- 当前模型与隐私说明提取为共享组件 CurrentService、ServicePrivacy - 开关关闭或当前选择不可用时,隐私说明不再列出候补服务商 - 手机的语音模型、AI 模型页在服务商卡片下方显示这两行
- 满核压力下 640 次中有 16 次读到 0 次调用:请求任务尚未开始执行 - 请求只由解码线程的 feed、poll 发出,等待期间计数不会再变
Codecov Report❌ Patch coverage is @@ Coverage Diff @@
## main #94 +/- ##
=======================================
Coverage 93.48% 93.48%
=======================================
Files 335 336 +1
Lines 47163 47250 +87
Branches 3143 3150 +7
=======================================
+ Hits 44088 44173 +85
- Misses 2669 2672 +3
+ Partials 406 405 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Merged
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
Follow-up to #89 (fallback models, v0.0.35), from the completion review of that work.
ResolvedEngines::status_with): the pages now compute the live preview and the output mode from the first model with quota left, in the order the engine's chain asks them (open_order, shared with the chain). When a model that takes whole recordings only stands in for a used-up realtime model, the takes already ran whole; the pages still showed 边说边识别 as in effect. Nowlive_preview_readyis false,live_sourcestaysstream,effective_output_modeiswhole_take; 实时预览 shows "暂不可用 · 候补模型不支持实时识别" and the output mode block no longer asks for a model download. The TS mirror and the mock follow the same rule.CurrentService,ServicePrivacyinpackages/ui);shortModelmoved to@voltip/shared.one_request_at_a_time_and_a_preview_of_a_closed_sentence_is_dropped(from feat(dictation): the built-in service previews while you speak #77) read the fake's call count before the request's task had started: 16 of 640 runs failed with every core busy. It now waits for the call; only the decode thread'sfeed/pollsend requests, so the count cannot move meanwhile.Testing
make verifyon the pushed head 7b9cd66 (overall_exit=0, log bound to HEAD).regression_the_status_shows_the_mode_the_next_take_runs_with(engine vs status),the_status_follows_the_model_that_stands_in_for_a_realtime_one, the TS mirror test,ServiceSummary.test.tsx, two desktop page tests, one phone page test.tests/fallback.rs320 runs, the long-take fallback test 320 runs — no failures on 7b9cd66 (before the test fix: 16 of 640 failed, all in the redecode test above).🤖 Generated with Claude Code