We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 914f6b4 commit 92cc4c6Copy full SHA for 92cc4c6
2 files changed
Core/Sources/SuggestionWidget/FeatureReducers/PromptToCodePanel.swift
@@ -188,6 +188,14 @@ public struct PromptToCodePanel {
188
description: ""
189
)
190
)))
191
+ case let .explanation(explanation):
192
+ await send(.snippetPanel(.element(
193
+ id: snippet.id,
194
+ action: .modifyCodeChunkReceived(
195
+ code: "",
196
+ description: explanation
197
+ )
198
+ )))
199
}
200
201
} catch is CancellationError {
Tool/Sources/ModificationBasic/ModificationAgent.swift
@@ -5,6 +5,7 @@ import SuggestionBasic
5
6
public enum ModificationAgentResponse {
7
case code(String)
8
+ case explanation(String)
9
10
11
public struct ModificationAgentRequest {
0 commit comments