Skip to content

armgit / ax

Public Imported from GitHub
0

Agent Executor (AX) is Google's open agentic orchestration runtime

Go

Use timestamppb.Now in the README

JBD62f6eeb4ec73
diff --git a/README.md b/README.md
index 2bc01d2..7cb8a6e 100644
--- a/README.md
+++ b/README.md
@@ -263,7 +263,7 @@ lifecycleFunc := func(ctx context.Context, handler agent.LifecycleHandler) error
return handler(&proto.LifecycleEvent{
EventType: "PROGRESS",
AgentId: "my-agent",
- Timestamp: time.Now().UnixMilli(),
+ Timestamp: timestamppb.Now(),
Metadata: map[string]string{"status": "processing"},
})
}