completed stream request flow and tests. restructured other parts of the code.

This commit is contained in:
Jay
2026-05-11 21:55:51 -04:00
parent eec6b2ff69
commit 49ce2eb2ac
8 changed files with 1121 additions and 307 deletions
+2 -4
View File
@@ -86,10 +86,8 @@ func NewClerk(
}
if handler != nil {
comp, ok := component.Get(ctx)
if ok {
c.logger = slog.New(handler).With(slog.Any("component", comp))
}
comp := component.FromContext(ctx)
c.logger = slog.New(handler).With(slog.Any("component", comp))
}
return c