You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fixes a bug where the `agent` query parameter on the extension URI was ignored.
We were previously doing:
```ts
vscode.commands.executeCommand(
"coder.openDevContainer",
workspaceOwner,
workspaceName,
workspaceAgent,
devContainerName,
devContainerFolder,
);
```
where `args[2]` was the agent name, but we were discarding it:
```ts
const workspaceOwner = args[0] as string;
const workspaceName = args[1] as string;
const workspaceAgent = undefined; // args[2] is reserved, but we do not support multiple agents yet.
const devContainerName = args[3] as string;
const devContainerFolder = args[4] as string;
```
The same was true for the `coder.open` command. Presumably due to the comment saying multiple agents aren't supported, which hasn't been true for years.
0 commit comments