Seal the fetch target: one value holds the URL and its host
Implemented-By: OpenCode session (model recorded in docs/implementer-log.md)
This commit is contained in:
@@ -105,7 +105,7 @@ pub fn run(decision: Decision, runtime: &dyn Runtime) -> proto::ToolResponse {
|
||||
.collect(),
|
||||
None,
|
||||
),
|
||||
ToolArgs::HttpFetch { .. } => (Vec::new(), Some(decision.hosts().to_vec())),
|
||||
ToolArgs::HttpFetch(_) => (Vec::new(), Some(decision.hosts().to_vec())),
|
||||
};
|
||||
let spec = RunSpec {
|
||||
tool: args.tool(),
|
||||
|
||||
Reference in New Issue
Block a user