Repository navigation
VFG-105 文を書く段では Gemini 4 の thinking を高くする - #65
Merged
Merged
Conversation
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.
概要
台本の文を書く段 (語り・Shorts の場面・テロップ) で、Gemini 4 Hydrogen の thinking を
high、タイムアウトを 180 秒にする。語りの言い回しを考えさせるため。ほかの段はlow・90 秒のまま。変更内容
llm.stageModelsを足す (段 → モデル → 設定)。書いた項目だけllm.modelsの値を置き換える。書いていない段はllm.modelsのまま。writeのgemini-4-hydrogenだけthinkingLevel: "high"・timeoutMs: 180000。config/videoforge.jsonにも同じ値を書いた。low・medium・high・xhighを受け付けるので、highのまま。動作確認
pnpm lintpnpm typecheckpnpm test(931 件)pnpm format:checklocal-heavyで確かめる)リスクの確認
.env*、キー、トークン) を含めていない人が確認すること
highにすると 1 回の呼び出しが長くなる。maxTotalMs(25 分) とprepareの 40 分に収まる計算は README にある。実行のmanifest.jsonの時間で、実際に収まるかを見てほしい。補足
generateContentの thinking の項目名 (thinkingConfig.thinkingLevel) は、リファレンスの要約で確かめた。ページの一部しか読めていないので、初回の実行で API が項目を受け付けることを確かめてほしい。