fix: ASRX and FS VLM Summary configuration
1. FS VLM Summary: max_tokens 300 -> 900 - Gemma4 思考模式需要更多 tokens 才能完成 - 修復 VLM 調用失敗問題 2. ASRX: 禁用 Swift,啟用 Python - Swift ASRX 10 秒超時導致所有 segments=0 - Python ASRX 使用 Whisper,更穩定 - 優先級從 2 提升到 0 問題診斷: - ASRX: 所有 10 個文件 segments=0 - 原因: RunLoop.current.run(until: Date(timeIntervalSinceNow: 10)) - VLM: max_tokens 太小導致 Gemma4 思考截斷 參考: AGENTS.md - Gemma4 思考模式特性
This commit is contained in:
@@ -202,7 +202,7 @@
|
||||
"tool": "swift",
|
||||
"model": null,
|
||||
"priority": 0,
|
||||
"enabled": true,
|
||||
"enabled": false,
|
||||
"command": {
|
||||
"executable": "scripts/swift_processors/.build/release/asrx_swift",
|
||||
"args": [
|
||||
@@ -220,7 +220,7 @@
|
||||
{
|
||||
"tool": "python",
|
||||
"model": null,
|
||||
"priority": 2,
|
||||
"priority": 0,
|
||||
"enabled": true,
|
||||
"command": {
|
||||
"executable": "/opt/homebrew/bin/python3.11",
|
||||
@@ -361,7 +361,7 @@
|
||||
},
|
||||
"parameters": {
|
||||
"llm_url": "http://localhost:8080/v1/chat/completions",
|
||||
"max_tokens": 300
|
||||
"max_tokens": 900
|
||||
},
|
||||
"output_file": "{file_uuid}.scene_vlm.json",
|
||||
"timeout": 1800
|
||||
@@ -387,7 +387,7 @@
|
||||
},
|
||||
"parameters": {
|
||||
"llm_url": "http://localhost:8080/v1/chat/completions",
|
||||
"max_tokens": 300
|
||||
"max_tokens": 900
|
||||
},
|
||||
"output_file": "{file_uuid}.scene_vlm.json",
|
||||
"timeout": 1800
|
||||
|
||||
Reference in New Issue
Block a user