BYOK (Ollama) custom models fail in Task subagents — all exit with code 1, zero output.
Environment: Factory CLI 0.135.0, Windows 10, PowerShell 7+, Ollama on 127.0.0.1:11434.
Tested models: custom:nemotron-3-super:cloud, custom:deepseek-v4-flash:cloud, custom:gemma4:31b-cloud.
Also tested: raw name (no custom: prefix) and full custom ID — all failed identically.
Control test: model: inherit works perfectly (parent session also uses BYOK).
Error: "Task subagent process exited with code 1. No assistant message events were captured."
The same BYOK models work fine for main-session tool calls. Issue is specific to subagent initialization with
non-inherited custom model.
Request: Please investigate subagent session initialization for BYOK custom models.