alt-glitch
c297adadea
refactor: move model_forces_max_completion_tokens from utils to agent.provider_route_hooks
...
The rule knows OpenAI model family names, which utils (a product-agnostic helper module) should
not, and only agent code calls it. It now sits beside the provider profile max_tokens_param answer
it backs up in both callers. No re-export is left in utils.
agent/auxiliary_client.py imports route_answer at module top with the moved rule and drops its two
function-local imports of it, keeping the file at its line cap.
The test file moves to tests/agent/test_provider_route_hooks_max_completion_tokens.py.
2026-11-16 14:23:53 +05:30
..
2026-11-13 17:30:59 -08:00
2026-11-15 08:20:26 +05:30
2026-11-14 12:24:24 +01:00
2026-11-14 15:35:25 +01:00
2026-11-14 15:35:26 +01:00
2026-11-14 15:35:26 +01:00
2026-11-13 20:39:59 +01:00
2026-11-13 17:24:06 -08:00
2026-11-13 17:25:23 -08:00
2026-11-15 12:04:54 -08:00
2026-11-13 16:41:36 -08:00
2026-11-14 12:24:24 +01:00
2026-11-14 12:24:25 +01:00
2026-11-13 16:52:24 +05:30
2026-11-13 16:52:24 +05:30
2026-11-14 12:24:25 +01:00
2026-11-14 12:24:25 +01:00
2026-11-14 12:24:25 +01:00
2026-11-14 12:24:25 +01:00
2026-11-14 12:24:25 +01:00
2026-11-14 12:24:25 +01:00
2026-11-15 08:20:26 +05:30
2026-11-12 19:29:02 -08:00
2026-11-14 23:16:45 +01:00
2026-11-13 17:20:18 -08:00
2026-11-13 17:20:18 -08:00
2026-11-13 17:20:18 -08:00
2026-11-15 08:20:26 +05:30
2026-11-15 08:20:26 +05:30
2026-11-13 17:29:32 -08:00
2026-11-13 16:48:04 -08:00
2026-11-13 17:52:33 -08:00
2026-11-14 12:50:49 +01:00
2026-11-14 12:50:49 +01:00
2026-11-13 10:00:04 -08:00
2026-11-14 13:15:52 -08:00
2026-11-14 05:44:33 +05:30
2026-11-14 02:24:06 -08:00
2026-11-13 17:47:22 -08:00
2026-11-14 21:08:33 +01:00
2026-11-12 22:33:52 -08:00
2026-11-14 21:08:33 +01:00
2026-11-12 15:57:01 -05:00
2026-11-14 21:08:33 +01:00
2026-11-14 15:11:41 +01:00
2026-11-12 14:32:53 -05:00
2026-11-15 01:58:38 +01:00
2026-11-13 15:30:30 -08:00
2026-11-13 15:30:30 -08:00
2026-11-14 12:50:35 +01:00
2026-11-14 12:24:24 +01:00
2026-11-13 16:54:40 +01:00
2026-11-13 17:25:07 -08:00
2026-11-14 02:36:49 -08:00
2026-11-14 21:01:00 +01:00
2026-11-12 15:55:34 -05:00
2026-11-15 08:20:26 +05:30
2026-11-15 08:20:26 +05:30
2026-11-15 08:20:26 +05:30
2026-11-14 02:35:30 -08:00
2026-11-13 16:51:54 +01:00
2026-11-15 01:38:42 +01:00
2026-11-13 17:26:03 -08:00
2026-11-13 15:30:30 -08:00
2026-11-13 15:30:30 -08:00
2026-11-13 15:30:30 -08:00
2026-11-15 14:02:40 +05:30
2026-11-14 12:24:24 +01:00
2026-11-15 01:58:38 +01:00
2026-11-14 05:44:33 +05:30
2026-11-14 16:16:34 +01:00
2026-11-15 12:04:54 -08:00
2026-11-16 14:23:53 +05:30
2026-11-14 12:16:30 +01:00
2026-11-12 23:54:43 +05:30
2026-11-14 12:50:52 +01:00
2026-11-15 16:28:14 +01:00
2026-11-15 04:26:38 +01:00
2026-11-14 21:01:45 +01:00
2026-11-14 02:19:19 -08:00
2026-11-14 01:57:18 +01:00
2026-11-15 15:43:35 +01:00
2026-11-14 02:11:02 -08:00
2026-11-14 17:07:58 +01:00
2026-11-14 15:36:09 +01:00
2026-11-15 15:45:29 +01:00
2026-11-15 01:38:42 +01:00
2026-11-15 01:38:42 +01:00
2026-11-14 01:14:16 -08:00
2026-11-14 17:12:39 +01:00
2026-11-14 15:38:44 +01:00
2026-11-14 17:09:00 +01:00
2026-11-15 16:05:45 +01:00
2026-11-14 17:15:21 +01:00
2026-11-14 15:38:42 +01:00
2026-11-13 15:30:30 -08:00
2026-11-13 15:30:30 -08:00
2026-11-14 17:25:54 +01:00
2026-11-13 20:47:05 +00:00
2026-11-14 12:50:49 +01:00
2026-11-14 05:44:33 +05:30
2026-11-14 11:37:50 -08:00
2026-11-14 02:39:46 -08:00
2026-11-15 11:49:27 -08:00
2026-11-14 12:24:25 +01:00
2026-11-14 15:38:42 +01:00
2026-11-14 12:43:56 +01:00
2026-11-12 23:26:27 +01:00
2026-11-15 08:20:26 +05:30
2026-11-12 14:32:53 -05:00
2026-11-13 17:33:19 -08:00