#Multiple agents 1 Nous Subscription
1 messages · Page 1 of 1 (latest)
seems to be independent coincidence ... tokens exipred... not sure why they didn't refresh
Ok actually it is a bug working on a fix will keep updated
ok bug fix PR submitted #developers message
Thanks for digging into it and for opening a PR.
The root cause you described does look real. The separate CLI path hermes auth add nous --type oauth was not persisting Nous state the same way as the normal login flow, so things could appear fine until the Nous runtime key needed refresh, and then fail later with a generic 401. That lines up with the “worked, then broke again later” pattern you were seeing.
There is one important issue in the PR as it stands, though. Right now it writes a pool entry with source manual:device_code, while the singleton seed path still imports providers.nous back into the pool as device_code. That means the PR starts creating duplicate Nous pool entries instead of keeping one canonical device-code entry. So the direction looks right, but I would not merge it yet without fixing that source mismatch.
@velvet spirethe diagnosis looks mostly correct, but the current implementation on PR #11858 appears to duplicate Nous credentials in the pool because of the manual:device_code vs device_code split. I think the right next step is to normalize Nous device-code persistence to one canonical source name before merge.
Thanks for the reply
If you need / want me to review anything in the pr or do more tests let me know