Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply Michaels suggestion
  • Loading branch information
BrunoQuaresma committed Aug 28, 2025
commit fae3b54e062d113845e5bace1da2baa334a48c28
8 changes: 5 additions & 3 deletions site/src/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2702,10 +2702,12 @@ class ExperimentalApiMethods {
queryExpressions.push(`owner:${filter.username}`);
}

const workspaces = await API.getWorkspaces({
const res = await API.getWorkspaces({
q: queryExpressions.join(" "),
}).then((res) =>
res.workspaces.filter((workspace) => !workspace.is_prebuild),
});
// Exclude prebuild workspaces as they are not user-facing.
const workspaces = res.workspaces.filter(
(workspace) => !workspace.is_prebuild,
);
const prompts = await API.experimental.getAITasksPrompts(
workspaces.map((workspace) => workspace.latest_build.id),
Expand Down
Loading