Commit Graph
37 Commits
Author SHA1 Message Date
Simo Lin e1dcd0df3e [model-gateway] minor code clean up (#15578) 2025-12-21 11:00:32 -10:00
shuwenn 1d9ba2ce4d [model-gateway] Use UUIDs for router-managed worker resources (#15540) 2025-12-21 07:40:03 -10:00
shuwenn 1d90b194b2 [model-gateway] bugfix: backward compatibility for GET endpoints (#15413) 2025-12-20 10:37:53 -10:00
Simo Lin 5529ab5895 [model-gateway] Implement RAII load guard with response body attachment (#15507) 2025-12-19 19:14:52 -08:00
Simo Lin 53e151945a [model-gateway] optimize worker registry and reduce lock contention in grpc client fetch (#15336) 2025-12-17 08:49:10 -10:00
Simo Lin d747147a26 [model-gateway] reduce cpu overhead (#15316) 2025-12-17 09:42:01 -08:00
fzyzcjy c4aed389da Super tiny rename failure_count for consistency (#15186) 2025-12-17 21:21:07 +08:00
Simo Lin 3518b33178 [model-gateway] Remove legacy RouterMetrics and Rename SmgMetrics to Metrics and smg_labels to metrics_labels (#15160) 2025-12-15 04:57:42 -08:00
fzyzcjy 89ad390843 Fix num running requests (load) wrong cleared for ongoing requests (#15116) 2025-12-15 17:40:04 +08:00
Simo Lin 7b9156c773 [model-gateway] add mcp and discovery metrics (#15156) 2025-12-14 22:54:53 -08:00
Simo Lin fb96669ff9 [model-gateway] Add Layer 3 worker metrics (smg_worker_*) (#15130) 2025-12-14 20:25:46 -08:00
fzyzcjy 62b3fdae43 Fix cache aware wrong routing caused by incorrect load tracking (#15101) 2025-12-15 10:03:54 +08:00
fzyzcjyandSimo Lin 4449c17011 [model-gateway] fix circuit breaker metrics (#15099)
Co-authored-by: Simo Lin <linsimo.mark@gmail.com>
2025-12-14 15:43:04 -08:00
fzyzcjy 5ca962ce7f [model-gateway] extract circuit breaker state struct (#15098) 2025-12-14 15:40:23 -08:00
Praneth Paruchuri bab20a849e [model-gateway] Parallelize metrics requests (#14953) 2025-12-14 15:38:45 -08:00
fzyzcjyandgemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> 681c68cfbf Fix issue not reported when load decrement is incorrect (#15061)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-14 13:17:35 +08:00
Simo Lin 74ea45cc4b [model-gateway] optimize metric labels to avoid unnecessary allocations (#15095) 2025-12-13 21:10:45 -08:00
Simo Lin 0fa044ad63 [model-gateway] Add circuit breaker and discovery watcher metrics (#15094) 2025-12-13 20:47:04 -08:00
Simo Lin 7d8e42c979 [model-gateway] Fix metric emission gaps and name mismatch (#15093) 2025-12-13 20:16:30 -08:00
Simo Lin fd37cc5d38 [model-gateway] Refactor worker steps and add update workflow (#15085) 2025-12-13 15:00:16 -08:00
fzyzcjy 9e9d910744 Fix load metric not updated when using guard (#15059) 2025-12-13 22:11:52 +08:00
Simo Lin 9a56273ad2 [model-gateway] refactor: unify worker management into modular workflow structure (#15010) 2025-12-12 15:25:35 -08:00
Simo Lin 306e5b8d0b [model-gateway] feat: add DAG parallel execution support and workflow optimization (#14999) 2025-12-12 08:31:12 -08:00
Simo Lin 10c68f6236 [model-gateway] refactor: extract workflow engine to src/workflow module (#14996) 2025-12-12 06:29:12 -08:00
JinYan Su 22fe5da13e Fix negative duration panic in token bucket wait time calculation (#14941)
Signed-off-by: xiaguan <751080330@qq.com>
2025-12-11 21:16:47 -08:00
Praneth Paruchuri 1834401e7c [model-gateway] optimize worker selection (#14894) 2025-12-11 21:15:12 -08:00
Simo Lin 6f99dc97f7 [model-gateway] fix imports and delete unused code (#14911) 2025-12-11 07:42:47 -08:00
Simo Lin cd1c1fa5bc [model-gateway] fix annotation error and code formating (#14910) 2025-12-11 07:06:32 -08:00
fzyzcjy 60560c07a2 [model-gateway] refactor cleanup WorkflowContext.get_or_err (#14890) 2025-12-11 06:48:30 -08:00
Simo Lin 2543666c8e [model-gateway] add anthropic message api spec (#14834) 2025-12-10 08:26:51 -08:00
fzyzcjy 6634f67bd5 Fix router keep nonzero metrics after worker is deleted (#14819) 2025-12-10 22:29:30 +08:00
Simo Lin 8b98bb768c [model-gateway] optimize core modules (#14751) 2025-12-09 10:54:07 -08:00
Simo Lin 7bf16c6339 [model-gateway] fix WASM arbitrary file read security vol (#14664) 2025-12-08 12:11:16 -08:00
Simo Lin d69ecc19b8 [model-gateway] reducing cpu overhead in various of places (#14658) 2025-12-08 09:44:40 -08:00
Simo Lin aff1238ef2 [model-gateway] reorganize metrics, logging, and otel to its own module (#14590) 2025-12-07 16:50:39 -08:00
Simo Lin 09376fd738 [model-gateway] fix logs in smg workflow (#14513) 2025-12-05 12:50:50 -08:00
Simo Lin 49dfa1d891 [model-gateway] change sgl-router to sgl-model-gateway (#14312) 2025-12-05 12:04:48 -08:00