]> git.giacomolli.uk - onechat/commitdiff
Read the time directly in the model client
authorAnderson A. Giacomolli <redacted>
Fri, 6 Nov 2026 17:38:59 +0000 (14:38 -0300)
committerAnderson A. Giacomolli <redacted>
Fri, 6 Nov 2026 17:38:59 +0000 (14:38 -0300)
The model client and the ChatGPT authorizer read the time with time.Now
instead of a clock field. No caller set the field, so it was an
injection with no user. A test that needs fake time can run in a
testing/synctest bubble, where the time package uses a fake clock.

Issue: b14d537


No differences found