Skip to content

Conversation

huangjeff5
Copy link
Contributor

@huangjeff5 huangjeff5 commented Jul 22, 2025

Metrics
unnamed

(Will add thought metrics as a fast follow; they were added recently and don't want to keep exploding this PR)

Basic success flow

Screenshot 2025-08-19 at 10 40 28 AM Screenshot 2025-08-19 at 10 40 18 AM

Error flow

Screenshot 2025-08-19 at 10 46 23 AM Screenshot 2025-08-19 at 10 45 52 AM

Substep flow

Screenshot 2025-08-19 at 10 39 37 AM Screenshot 2025-08-19 at 10 39 33 AM

Tool flow

Screenshot 2025-08-19 at 10 41 49 AM Screenshot 2025-08-19 at 10 41 44 AM

(The Tool View looks slightly different because our tool loop inside the Generate() call is implemented slightly differently, that requires some more refactoring if we want the views to look exactly the same)

@github-actions github-actions bot added the docs Improvements or additions to documentation label Aug 7, 2025
g, err := genkit.Init(ctx)
if err != nil {
return err
// [START enablecustom]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unclear on exactly how START / END works and how it impacts docs

@firebase firebase deleted a comment from jeffdh5 Aug 19, 2025
@@ -26,62 +26,131 @@ import (
"go.opentelemetry.io/otel/sdk/trace"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not exaclty sure how these doc snippets work; need to make sure they display well

}

// RunInNewSpan runs f on input in a new span with the provided metadata.
// The metadata contains all span configuration including name, type, labels, etc.
func RunInNewSpan[I, O any](
ctx context.Context,
tstate *State,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need to take this in? Right now what's checked in main is just a global getter for the tracer provider, so it could just be called within this function, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config docs Improvements or additions to documentation go
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants