initial tool call stream

This commit is contained in:
Kujtim Hoxha
2025-04-19 16:35:45 +02:00
parent 304d666856
commit 6411617f7f
11 changed files with 261 additions and 136 deletions
-7
View File
@@ -7,13 +7,6 @@ import (
const bufferSize = 1024
type Logger interface {
Debug(msg string, args ...any)
Info(msg string, args ...any)
Warn(msg string, args ...any)
Error(msg string, args ...any)
}
// Broker allows clients to publish events and subscribe to events
type Broker[T any] struct {
subs map[chan Event[T]]struct{} // subscriptions