Skip to content

Commit ea3b823

Browse files
committed
Update to always create instead of activating existing panels
1 parent cb77f0e commit ea3b823

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Core/Sources/Service/SuggestionCommandHandler/PseudoCommandHandler.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,10 @@ struct PseudoCommandHandler: CommandHandler {
277277
) async {
278278
do {
279279
@Dependency(\.workspacePool) var workspacePool
280-
let (workspace, filespace) = try await workspacePool
280+
let (_, filespace) = try await workspacePool
281281
.fetchOrCreateWorkspaceAndFilespace(fileURL: source.documentURL)
282282
let store = await Service.shared.guiController.store
283-
await store.send(.promptToCodeGroup(.activateOrCreatePromptToCode(.init(
283+
await store.send(.promptToCodeGroup(.createPromptToCode(.init(
284284
promptToCodeState: Shared(.init(
285285
source: source,
286286
snippets: IdentifiedArray(uniqueElements: snippets),

0 commit comments

Comments
 (0)