fix: accept reserved workers during initial flow resolution

This commit is contained in:
2026-08-26 07:52:04 +09:00
parent f7852e8034
commit 9d572d18bc
4 changed files with 121 additions and 2 deletions
+4 -1
View File
@@ -2460,7 +2460,10 @@ impl<C: LlmClient, St: Store> Worker<C, St> {
.map(ToOwned::to_owned)
})
.unwrap_or_else(|| "Workspace rejected Flow source resolution".to_string());
return Err(WorkerError::FlowInput(message));
return Err(WorkerError::FlowInput(format!(
"{message} (HTTP {})",
response.status
)));
}
let source: flow::ResolvedFlowSource = serde_json::from_str(&response.body)
.map_err(|error| WorkerError::FlowInput(format!("decode Flow source: {error}")))?;