We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39bc4dd commit 3448126Copy full SHA for 3448126
src/deployment/deploymentManager.ts
@@ -260,9 +260,9 @@ export class DeploymentManager implements vscode.Disposable {
260
private updateExperimentContexts(): void {
261
this.client
262
.getAxiosInstance()
263
- .get("/api/v2/experiments")
+ .get<string[]>("/api/v2/experiments")
264
.then((resp) => {
265
- const experiments: string[] = resp.data ?? [];
+ const experiments = resp.data ?? [];
266
this.contextManager.set(
267
"coder.agentsEnabled",
268
experiments.includes("agents"),
0 commit comments