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",
|
"tool": "swift",
|
||||||
"model": null,
|
"model": null,
|
||||||
"priority": 0,
|
"priority": 0,
|
||||||
"enabled": true,
|
"enabled": false,
|
||||||
"command": {
|
"command": {
|
||||||
"executable": "scripts/swift_processors/.build/release/asrx_swift",
|
"executable": "scripts/swift_processors/.build/release/asrx_swift",
|
||||||
"args": [
|
"args": [
|
||||||
@@ -220,7 +220,7 @@
|
|||||||
{
|
{
|
||||||
"tool": "python",
|
"tool": "python",
|
||||||
"model": null,
|
"model": null,
|
||||||
"priority": 2,
|
"priority": 0,
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"command": {
|
"command": {
|
||||||
"executable": "/opt/homebrew/bin/python3.11",
|
"executable": "/opt/homebrew/bin/python3.11",
|
||||||
@@ -361,7 +361,7 @@
|
|||||||
},
|
},
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"llm_url": "http://localhost:8080/v1/chat/completions",
|
"llm_url": "http://localhost:8080/v1/chat/completions",
|
||||||
"max_tokens": 300
|
"max_tokens": 900
|
||||||
},
|
},
|
||||||
"output_file": "{file_uuid}.scene_vlm.json",
|
"output_file": "{file_uuid}.scene_vlm.json",
|
||||||
"timeout": 1800
|
"timeout": 1800
|
||||||
@@ -387,7 +387,7 @@
|
|||||||
},
|
},
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"llm_url": "http://localhost:8080/v1/chat/completions",
|
"llm_url": "http://localhost:8080/v1/chat/completions",
|
||||||
"max_tokens": 300
|
"max_tokens": 900
|
||||||
},
|
},
|
||||||
"output_file": "{file_uuid}.scene_vlm.json",
|
"output_file": "{file_uuid}.scene_vlm.json",
|
||||||
"timeout": 1800
|
"timeout": 1800
|
||||||
|
|||||||
Reference in New Issue
Block a user