Commit Graph

192 Commits

Author SHA1 Message Date
Ziwen Zhao
b5a94f8a8e [model-gateway] Fix IGW routing for external OpenAI workers (#16633) 2026-01-07 08:15:23 -08:00
fzyzcjy
3be1e734ee [model-gateway] extract header extraction in policy and add (#16566) 2026-01-06 20:18:44 -08:00
Chang Su
fb5b71d015 [router][openai] Rename prepare_mcp_payload_for_streaming and patch_streaming_response_json (#16596) 2026-01-06 16:33:29 -08:00
Chang Su
05b54b6d7b [router][grpc] Replace Vec<(String, String, String)> with ExtractedToolCall (#16598) 2026-01-06 16:32:59 -08:00
Chang Su
4f443f445a [model-gateway][cleanup] Fix wrong comment in manager.rs (#16601) 2026-01-06 16:32:37 -08:00
Simo Lin
d57d8e7e5f [smg] clean up logs in mcp (should be info instead warn) (#16591) 2026-01-06 12:44:32 -08:00
Chang Su
21da2dc1ce [grpc] Unify ResponsesContext and HarmonyResponsesContext (#16549) 2026-01-06 07:28:06 -08:00
Chang Su
9bf76c11a9 [responses API] Add list_tools_for_servers and threading server_keys in routers (#16540) 2026-01-05 22:42:22 -08:00
Chang Su
4cf2bbd084 [router] Remove deadcode and add note for unused API completeness methods (#16528) 2026-01-05 19:53:28 -08:00
Chang Su
b98bd9a5fb [model-gateway] Tighten visibility in modules and remove unused re-exports (#16524) 2026-01-05 17:38:50 -08:00
Chang Su
1751c75b5d [model-gateway] Tighten visibility across data_connector and grpc module (#16516) 2026-01-05 12:31:32 -08:00
Chang Su
51541404f8 [grpc] Refactor openai module (#16511) 2026-01-05 11:39:33 -08:00
Chang Su
5a2b1ed407 [grpc] Refactor grpc/regular/responses (#16509) 2026-01-05 10:21:34 -08:00
Chang Su
454dc9e242 [model-gateway][grpc] Refactor harmony/responses.rs (#16508) 2026-01-05 10:21:05 -08:00
fzyzcjy
1e41069ad1 Fix age bucket rendering issue (#16492) 2026-01-05 09:29:14 -08:00
Praneth Paruchuri
b12258bfaa [model-gateway] Optimize HTTP Router Fan-out: Replace Serial Execution with Concurrent Streams (#16042) 2026-01-04 23:38:45 -08:00
Ratish P
f02d82211a [model-gateway]: move PD configuration conflict checks to model gateway (#16088) 2026-01-05 14:16:07 +08:00
Simo Lin
4436dc0f6c [model-gateway] improve lock contention and allocation in middleware (#16405) 2026-01-04 10:40:07 -08:00
Simo Lin
cf6800f6cc [model-gateway] optimize Vec and HashMap allocations in responses api (#16406) 2026-01-04 10:07:55 -08:00
fzyzcjy
f16606d6f6 Super tiny code cleanup (#16401) 2026-01-04 23:00:09 +08:00
fzyzcjy
27a0830593 Tiny add manual policy benchmark to CI (#16392) 2026-01-04 19:10:35 +08:00
Chang Su
8d58b3dcdd [model-gateway] Clear architectual debt in responses API (#16359) 2026-01-03 21:35:28 -08:00
fzyzcjy
216ea910ad Tiny support forwarding SMG routing key to engine for dumping and avoid string allocation (#16352) 2026-01-04 08:33:35 +08:00
fzyzcjy
c88aaf22c7 Support in-flight request age metrics for router (#16341) 2026-01-04 07:38:53 +08:00
fzyzcjy
66dfb8c156 Tiny fix non-PD router http header missing whitelist (#16339)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-03 09:43:02 -08:00
Simo Lin
65b0b5b248 fix(logging): use Display format for model_id instead of Debug (#16337) 2026-01-03 00:21:39 -08:00
Chang Su
d8ac5eecf7 [model-gateway] bug fix on module name (#16332) 2026-01-02 21:56:18 -08:00
Chang Su
b23e7ed13c refactor(gateway): shorten logging targets from sgl_model_gateway to smg (#16328) 2026-01-02 21:12:33 -08:00
Chang Su
24c91001cf [model-gateway] code clean up in tokenizer register step workflow (#16316) 2026-01-02 16:05:10 -08:00
Chang Su
c4edcac6d7 refactor(core): remove get_by_model_fast alias in worker_registry (#16313) 2026-01-02 16:04:23 -08:00
Chang Su
e93433892b refactor(steps): consolidate duplicate strip_protocol function (#16318) 2026-01-02 16:02:42 -08:00
Chang Su
a2d4f58a96 fix(http): use 504 Gateway Timeout for upstream timeouts (#16320) 2026-01-02 16:01:44 -08:00
Chang Su
f66b091699 refactor(http): improve pd_types.rs documentation and style (#16319) 2026-01-02 16:01:11 -08:00
Chang Su
2f623368ab refactor(core): use idiomatic .min() in calculate_delay (#16314) 2026-01-02 15:46:13 -08:00
Chang Su
bd9a2ced47 refactor(core): use thiserror for WorkerError (#16315) 2026-01-02 15:33:07 -08:00
Chang Su
0ca417d9ae chore(core): remove unused serde_json import in worker.rs (#16312) 2026-01-02 15:31:41 -08:00
fzyzcjy
00562ee14a Support cache eviction for Manual Policy (#16263) 2026-01-02 08:52:01 +08:00
Simo Lin
851845579c perf(tree): optimize input_char_count calculation (#16238) 2025-12-31 15:29:37 -08:00
Simo Lin
60d7279c46 test(tree): add comprehensive unit tests and fix input_char_count bug (#16228) 2025-12-31 07:31:39 -08:00
Simo Lin
b4ce7a6d71 [model-gateway] cache_aware eliminate String allocations in hot path (#16209) 2025-12-31 00:26:10 -08:00
Simo Lin
9940c6f592 [model-gateway]: ASCII byte comparison and probabilistic timestamp updates (#16181) 2025-12-30 12:28:01 -08:00
Simo Lin
8c6f865afb [model-gateway]: optimize prefix_match with zero-copy tenant and deferred char count (#16099) 2025-12-29 11:32:57 -08:00
Simo Lin
f39382c6ca [model-gateway] Fix duplicate classify prefix in response ID (#16101)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-12-29 11:07:21 -08:00
Simo Lin
2ff289e2dc [model-gateway] Generate UUID-based request IDs for embedding/classify (#16100)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-12-29 10:49:58 -08:00
Simo Lin
b2a3f0551a [model-gateway] Wire classify pipeline to gRPC router (#16098)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-12-29 10:44:45 -08:00
Simo Lin
684e148e38 [model-gateway] Optimize INSERT with leaf-only timestamp updates (#16097) 2025-12-29 10:43:20 -08:00
Simo Lin
f44c4b3715 [model-gateway] Add classify pipeline stages and protocol types (#16094)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-12-29 10:23:36 -08:00
Simo Lin
ac78f96ec5 [model-gateway] Optimize radix tree timestamp updates for multi-tenant scaling (#16093) 2025-12-29 10:08:19 -08:00
Simo Lin
162d1cf9be [model-gateway] Add classification model support infrastructure (#16061)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-12-29 08:34:05 -08:00
Simo Lin
c31f62722c [model-gateway] fix tokenizer to match transformers special token handling (#16087) 2025-12-29 08:13:03 -08:00