LlmRunnerWorkflowConfig.fromMap constructor
Builds an LLM runner config from a map.
Implementation
factory LlmRunnerWorkflowConfig.fromMap(Map<String, dynamic> map) {
return LlmRunnerWorkflowConfig(
planningProvider: _stringValue(map, 'planning_provider'),
codingProvider: _stringValue(map, 'coding_provider'),
timeout: Duration(milliseconds: _intValue(map, 'timeout_ms') ?? 120000),
maxResponseBytes: _intValue(map, 'max_response_bytes') ?? 4 * 1024 * 1024,
);
}