mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-23 11:55:12 +00:00
PR feedback
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
#:package GitHub.Copilot.SDK@*
|
#:package GitHub.Copilot.SDK@*
|
||||||
#:property PublishAot=false
|
|
||||||
|
|
||||||
using GitHub.Copilot.SDK;
|
using GitHub.Copilot.SDK;
|
||||||
|
|
||||||
|
|||||||
@@ -157,8 +157,8 @@ func ralphLoop(ctx context.Context, mode string, maxIterations int) error {
|
|||||||
|
|
||||||
// Log tool usage for visibility
|
// Log tool usage for visibility
|
||||||
session.On(func(event copilot.Event) {
|
session.On(func(event copilot.Event) {
|
||||||
if te, ok := event.(copilot.ToolExecutionStartEvent); ok {
|
if toolExecution, ok := event.(copilot.ToolExecutionStartEvent); ok {
|
||||||
fmt.Printf(" ⚙ %s\n", te.Data.ToolName)
|
fmt.Printf(" ⚙ %s\n", toolExecution.Data.ToolName)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -71,8 +71,8 @@ func ralphLoop(ctx context.Context, mode string, maxIterations int) error {
|
|||||||
|
|
||||||
// Log tool usage for visibility
|
// Log tool usage for visibility
|
||||||
session.On(func(event copilot.Event) {
|
session.On(func(event copilot.Event) {
|
||||||
if te, ok := event.(copilot.ToolExecutionStartEvent); ok {
|
if toolExecution, ok := event.(copilot.ToolExecutionStartEvent); ok {
|
||||||
fmt.Printf(" ⚙ %s\n", te.Data.ToolName)
|
fmt.Printf(" ⚙ %s\n", toolExecution.Data.ToolName)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user