kshitij
e09ef9ebd8
fix(transport): use getattr for supports_prompt_cache_key on stale profiles
...
After a partial update (stash restore overwriting providers/base.py with
an older version), the NousProfile singleton was instantiated from a
ProviderProfile class that predates the supports_prompt_cache_key field
(added in f4fb23f3d ). Accessing profile.supports_prompt_cache_key raised
AttributeError, crashing every API call with:
'NousProfile' object has no attribute 'supports_prompt_cache_key'
Use getattr(profile, 'supports_prompt_cache_key', False) so a stale
profile degrades to 'no prompt cache key' instead of crashing.
2026-08-09 23:19:39 -07:00
..
2026-08-02 20:21:59 -07:00
2026-08-08 04:19:49 -07:00
2026-08-09 23:19:39 -07:00
2026-08-09 22:24:19 -04:00
2026-08-09 22:09:49 -04:00
2026-08-09 22:09:49 -04:00
2026-08-10 10:58:05 +05:30
2026-08-01 10:52:34 -07:00
2026-08-09 22:09:49 -04:00
2026-08-09 23:19:39 -07:00
2026-08-10 11:01:15 +05:30
2026-08-08 14:40:46 +05:30
2026-08-04 17:36:26 -04:00
2026-08-08 18:11:02 -07:00
2026-08-03 20:35:47 +05:30
2026-08-08 17:01:59 -07:00
2026-08-05 12:42:46 +05:30
2026-08-10 10:01:44 +05:30
2026-08-08 12:33:19 -07:00
2026-08-02 00:11:50 -07:00
2026-08-08 15:43:00 -07:00
2026-08-09 14:10:21 -07:00
2026-08-08 12:33:19 -07:00
2026-08-09 23:14:18 -07:00
2026-08-10 09:58:46 +05:30
2026-08-07 10:11:05 -07:00
2026-07-31 22:33:11 -07:00
2026-08-09 22:09:49 -04:00
2026-08-09 13:43:14 -07:00
2026-08-06 05:00:17 +05:30
2026-08-01 15:05:05 +05:30
2026-08-02 00:11:50 -07:00
2026-08-03 17:19:49 -07:00
2026-08-01 23:28:28 -05:00
2026-08-02 00:11:50 -07:00
2026-08-08 05:21:09 -07:00
2026-08-03 20:30:32 +05:30
2026-08-09 22:09:49 -04:00
2026-08-09 22:09:49 -04:00
2026-08-09 22:09:49 -04:00
2026-07-31 22:35:07 -07:00
2026-08-09 22:09:49 -04:00
2026-07-29 18:13:09 -07:00
2026-08-09 15:02:27 -07:00
2026-07-29 18:55:10 -07:00
2026-08-08 19:46:35 -07:00
2026-07-31 22:39:11 -07:00
2026-07-29 18:13:09 -07:00
2026-08-07 19:44:35 +05:30
2026-07-29 21:30:53 -07:00
2026-07-29 19:53:17 -07:00
2026-08-01 21:17:51 -04:00
2026-08-01 13:13:30 +05:30
2026-07-30 00:08:28 -05:00
2026-08-03 17:38:13 +05:30
2026-07-31 07:18:02 -07:00
2026-07-31 22:35:16 -07:00
2026-08-09 22:09:49 -04:00
2026-08-07 09:44:21 -07:00
2026-07-29 19:48:37 -07:00
2026-07-29 21:30:53 -07:00
2026-08-08 12:33:19 -07:00
2026-08-07 00:41:58 -04:00
2026-08-02 10:04:48 -07:00
2026-08-03 21:02:11 +05:30
2026-08-03 20:37:17 +05:30
2026-08-02 21:32:13 +05:30
2026-07-31 23:18:12 -07:00
2026-08-06 07:49:42 -07:00
2026-08-04 11:26:15 +05:30
2026-08-08 14:18:26 +05:30
2026-08-06 19:35:47 -06:00
2026-08-07 09:44:21 -07:00
2026-08-01 15:58:42 +05:30
2026-08-06 23:08:23 -05:00
2026-08-10 11:01:15 +05:30
2026-08-06 19:35:47 -06:00
2026-08-09 13:43:14 -07:00
2026-08-02 21:30:54 +05:30
2026-08-02 23:10:28 +05:30
2026-08-09 22:09:49 -04:00
2026-08-09 22:09:49 -04:00