每次 Trae 启动时,会调用 get_detail_param API 获取模型配置。返回结果中三个自定义模型的 extra_config 字段是空字符串:
[FlowConfigManager] parse extra_config failed for "deepseek-v4-flash": Unexpected end of JSON input
[FlowConfigManager] parse extra_config failed for "deepseek-v4-pro": Unexpected end of JSON input
[FlowConfigManager] parse extra_config failed for "ark-code-latest": Unexpected end of JSON input
代码逻辑是 JSON.parse(extra_config),如果 extra_config 是空字符串 "",就会抛出 Unexpected end of JSON input。这意味着 Trae 后端返回的火山引擎模型配置是空的/损坏的。