diff options
Diffstat (limited to 'internal/hexaicli/runner.go')
| -rw-r--r-- | internal/hexaicli/runner.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/hexaicli/runner.go b/internal/hexaicli/runner.go index 340733c..ba42452 100644 --- a/internal/hexaicli/runner.go +++ b/internal/hexaicli/runner.go @@ -69,6 +69,9 @@ func NewRunner() *Runner { func (r *Runner) Run(ctx context.Context, args []string, stdin io.Reader, stdout, stderr io.Writer) error { runner := normalizeRunner(r) + if factory := clientFactoryFromContext(ctx); factory != nil { + runner.newClient = factory + } if len(args) > 0 { sub := args[0] if sub == "config" { |
