Require a timeout on every agent tool

This commit is contained in:
Ian Gulliver
2026-10-22 15:35:33 -07:00
parent c59e1cb4c3
commit b2cb15dd2a
12 changed files with 196 additions and 111 deletions
+4 -1
View File
@@ -10,7 +10,10 @@ import (
"g.fc.run/ai/byre/internal/clients"
)
const signTimeout = 2 * time.Minute
const (
signTimeout = 2 * time.Minute
replyGrace = 30 * time.Second
)
func (m *Manager) signer(ctx context.Context, user api.User) func(payload []byte) ([]byte, error) {
return func(payload []byte) ([]byte, error) {