jay77721
91fd114783
fix(dao): honor tenant-configured context window override (D22/D23) ( #18171 )
...
Make `ResolveModelContentLength` honor the per-model custom **context window length** (`content_length`) — stored in the Python-legacy `tenant_model.extra["max_tokens"]` field, whose semantic meaning is the context window, NOT the generation cap — **before** any provider-catalog read, and remove the parallel service-layer implementation so every consumer shares one resolution path.
2026-08-12 19:32:37 +08:00
..
2026-08-11 16:18:49 +08:00
2026-08-11 16:18:49 +08:00
2026-08-04 15:43:15 +08:00
2026-07-06 13:29:10 +08:00
2026-08-11 16:18:49 +08:00
2026-08-11 16:18:49 +08:00
2026-08-11 16:18:49 +08:00
2026-06-30 16:28:48 +08:00
2026-07-27 10:20:16 +08:00
2026-07-27 10:20:16 +08:00
2026-08-03 21:30:01 +08:00
2026-08-11 16:18:49 +08:00
2026-07-28 15:54:44 +08:00
2026-08-11 16:18:49 +08:00
2026-07-27 10:20:16 +08:00
2026-07-27 21:19:39 +08:00
2026-08-11 16:18:49 +08:00
2026-06-17 13:24:03 +08:00
2026-08-11 16:18:49 +08:00
2026-07-27 10:20:16 +08:00
2026-07-27 10:20:16 +08:00
2026-08-11 16:18:49 +08:00
2026-08-11 16:18:49 +08:00
2026-08-11 16:18:49 +08:00
2026-08-11 16:18:49 +08:00
2026-07-27 10:20:16 +08:00
2026-08-11 16:18:49 +08:00
2026-07-27 10:20:16 +08:00
2026-07-27 10:20:16 +08:00
2026-08-11 16:18:49 +08:00
2026-08-11 16:18:49 +08:00
2026-08-11 16:18:49 +08:00
2026-07-27 10:20:16 +08:00
2026-06-12 22:58:28 +08:00
2026-08-11 16:18:49 +08:00
2026-07-27 10:20:16 +08:00
2026-07-27 21:19:39 +08:00
2026-06-22 11:58:29 +08:00
2026-08-11 16:18:49 +08:00
2026-07-28 19:22:18 +08:00
2026-08-12 19:32:37 +08:00
2026-08-12 19:32:37 +08:00
2026-08-11 19:19:29 +08:00
2026-07-27 10:20:16 +08:00
2026-08-11 19:19:29 +08:00
2026-06-17 13:24:03 +08:00
2026-08-11 19:19:29 +08:00
2026-08-11 19:19:29 +08:00
2026-08-11 16:18:49 +08:00
2026-07-31 19:15:38 +08:00
2026-08-11 19:19:29 +08:00
2026-07-27 10:20:16 +08:00
2026-08-06 13:36:04 +08:00
2026-07-05 20:43:52 +08:00
2026-08-11 16:18:49 +08:00
2026-08-11 16:18:49 +08:00
2026-07-28 19:17:33 +08:00
2026-08-05 15:48:54 +08:00
2026-08-05 15:48:54 +08:00
2026-07-05 20:43:52 +08:00
2026-08-11 19:19:29 +08:00
2026-06-17 13:24:03 +08:00
2026-08-11 19:19:29 +08:00
2026-08-11 19:19:29 +08:00
2026-07-28 14:59:34 +08:00
2026-08-11 19:19:29 +08:00
2026-08-11 19:19:29 +08:00
2026-07-27 10:20:16 +08:00
2026-08-11 19:19:29 +08:00
2026-06-17 13:24:03 +08:00
2026-08-11 19:19:29 +08:00
2026-07-27 10:20:16 +08:00
2026-08-11 19:19:29 +08:00
2026-07-30 09:36:16 +08:00
2026-07-30 09:36:16 +08:00
2026-08-11 19:19:29 +08:00
2026-08-05 15:48:54 +08:00
2026-08-11 19:19:29 +08:00
2026-07-27 10:20:16 +08:00
2026-08-11 19:19:29 +08:00
2026-07-27 10:20:16 +08:00
2026-08-11 19:19:29 +08:00
2026-07-27 10:20:16 +08:00
2026-07-13 10:19:50 +08:00
2026-08-11 19:19:29 +08:00