Repository navigation
fix(drama): --help 不再需要 key;短剧线默认用设置里选的文本模型 - #31
Merged
Merged
Conversation
- `openshorts drama --help` 以前一路透传给引擎 → 用户想看用法却被告知"缺少 API Key:文本供应商 deepseek"。 现在直接给双语用法(含本机零成本档的一行参数)。 - 短剧线一直没带用户在设置里选的文本模型(口播线早就用 llmOverride 带了):选了 ollama / 智谱, 它照样按模板默认去找 deepseek 的 key,报的供应商名用户根本没选过。显式传了 --provider 时不覆盖。 测试用桩引擎截获传给引擎的参数(只断言退出码的话这条测试永远绿);两个变异都会红。300 测试 0 失败。
jnMetaCode
force-pushed
the
fix/drama-help
branch
from
September 23, 2026 21:50
2fdd664 to
d3b4795
Compare
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.
真跑短剧线(这周改动之后从没跑过的那半边产品)时逮到的两处。
问题
openshorts drama --help需要 key:它一路透传给引擎 → 用户想看用法,却被告知"缺少 API Key:文本供应商 deepseek"。看不出是自己没配还是命令坏了。llmOverride带上了,短剧线一直漏。用户选了 ollama 或智谱,它照样按模板默认去找 deepseek 的 key——报出来的供应商名用户根本没选过。改动
drama --help/-h直接给双语用法,含本机零成本档的那一行参数--provider时不覆盖验证
drama --help报缺 deepseek 的 key;修后中英用法都正常顺带记录:短剧线的后半段仍未验到
本机 7B(qwen2.5-coder)写不出验收要求的五段式提示词,验收闸如实拦下并给了续跑提示;换配置里的 agnes 则是 429 限流。所以本机出图(FLUX)+ 本机出片(H3)这两步这次没跑到。要么装个 14B 以上的本地模型,要么换一个没限流的文本模型。