PR feedback

This commit is contained in:
Anthony Shaw
2026-02-11 15:16:44 -08:00
parent ff69b804ac
commit 717c0121bc
3 changed files with 4 additions and 5 deletions

View File

@@ -1,5 +1,4 @@
#:package GitHub.Copilot.SDK@*
#:property PublishAot=false
using GitHub.Copilot.SDK;

View File

@@ -157,8 +157,8 @@ func ralphLoop(ctx context.Context, mode string, maxIterations int) error {
// Log tool usage for visibility
session.On(func(event copilot.Event) {
if te, ok := event.(copilot.ToolExecutionStartEvent); ok {
fmt.Printf(" ⚙ %s\n", te.Data.ToolName)
if toolExecution, ok := event.(copilot.ToolExecutionStartEvent); ok {
fmt.Printf(" ⚙ %s\n", toolExecution.Data.ToolName)
}
})

View File

@@ -71,8 +71,8 @@ func ralphLoop(ctx context.Context, mode string, maxIterations int) error {
// Log tool usage for visibility
session.On(func(event copilot.Event) {
if te, ok := event.(copilot.ToolExecutionStartEvent); ok {
fmt.Printf(" ⚙ %s\n", te.Data.ToolName)
if toolExecution, ok := event.(copilot.ToolExecutionStartEvent); ok {
fmt.Printf(" ⚙ %s\n", toolExecution.Data.ToolName)
}
})