From 717c0121bc0e6e9c8328338a41479d9125e20d85 Mon Sep 17 00:00:00 2001 From: Anthony Shaw Date: Wed, 11 Feb 2026 15:16:44 -0800 Subject: [PATCH] PR feedback --- cookbook/copilot-sdk/dotnet/recipe/ralph-loop.cs | 1 - cookbook/copilot-sdk/go/ralph-loop.md | 4 ++-- cookbook/copilot-sdk/go/recipe/ralph-loop.go | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/cookbook/copilot-sdk/dotnet/recipe/ralph-loop.cs b/cookbook/copilot-sdk/dotnet/recipe/ralph-loop.cs index d0baa2e7..9f153324 100644 --- a/cookbook/copilot-sdk/dotnet/recipe/ralph-loop.cs +++ b/cookbook/copilot-sdk/dotnet/recipe/ralph-loop.cs @@ -1,5 +1,4 @@ #:package GitHub.Copilot.SDK@* -#:property PublishAot=false using GitHub.Copilot.SDK; diff --git a/cookbook/copilot-sdk/go/ralph-loop.md b/cookbook/copilot-sdk/go/ralph-loop.md index 626ed5ea..f8462c3d 100644 --- a/cookbook/copilot-sdk/go/ralph-loop.md +++ b/cookbook/copilot-sdk/go/ralph-loop.md @@ -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) } }) diff --git a/cookbook/copilot-sdk/go/recipe/ralph-loop.go b/cookbook/copilot-sdk/go/recipe/ralph-loop.go index 35d862b7..03d99987 100644 --- a/cookbook/copilot-sdk/go/recipe/ralph-loop.go +++ b/cookbook/copilot-sdk/go/recipe/ralph-loop.go @@ -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) } })