From b72f0268c760e074f1d64aae02f4b6e57cb66814 Mon Sep 17 00:00:00 2001 From: Simo Lin Date: Fri, 5 Dec 2025 13:16:58 -0800 Subject: [PATCH] [model-gateway] fix left over sgl-router names in wasm (#14514) --- sgl-model-gateway/examples/wasm/wasm-guest-auth/src/lib.rs | 6 +++--- .../examples/wasm/wasm-guest-logging/src/lib.rs | 6 +++--- .../examples/wasm/wasm-guest-ratelimit/src/lib.rs | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sgl-model-gateway/examples/wasm/wasm-guest-auth/src/lib.rs b/sgl-model-gateway/examples/wasm/wasm-guest-auth/src/lib.rs index 689b6e117..55df42147 100644 --- a/sgl-model-gateway/examples/wasm/wasm-guest-auth/src/lib.rs +++ b/sgl-model-gateway/examples/wasm/wasm-guest-auth/src/lib.rs @@ -1,14 +1,14 @@ -//! WASM Guest Auth Example for sgl-router +//! WASM Guest Auth Example for sgl-model-gateway //! //! This example demonstrates API key authentication middleware -//! for sgl-router using the WebAssembly Component Model. +//! for sgl-model-gateway using the WebAssembly Component Model. //! //! Features: //! - API Key authentication wit_bindgen::generate!({ path: "../../../src/wasm/interface", - world: "sgl-router", + world: "sgl-model-gateway", }); use exports::sgl::router::{ diff --git a/sgl-model-gateway/examples/wasm/wasm-guest-logging/src/lib.rs b/sgl-model-gateway/examples/wasm/wasm-guest-logging/src/lib.rs index a2c5d545c..7806ddf6c 100644 --- a/sgl-model-gateway/examples/wasm/wasm-guest-logging/src/lib.rs +++ b/sgl-model-gateway/examples/wasm/wasm-guest-logging/src/lib.rs @@ -1,7 +1,7 @@ -//! WASM Guest Logging Example for sgl-router +//! WASM Guest Logging Example for sgl-model-gateway //! //! This example demonstrates logging and tracing middleware -//! for sgl-router using the WebAssembly Component Model. +//! for sgl-model-gateway using the WebAssembly Component Model. //! //! Features: //! - Request tracking and tracing headers @@ -9,7 +9,7 @@ wit_bindgen::generate!({ path: "../../../src/wasm/interface", - world: "sgl-router", + world: "sgl-model-gateway", }); use exports::sgl::router::{ diff --git a/sgl-model-gateway/examples/wasm/wasm-guest-ratelimit/src/lib.rs b/sgl-model-gateway/examples/wasm/wasm-guest-ratelimit/src/lib.rs index 887f93a07..2d4ebbfc1 100644 --- a/sgl-model-gateway/examples/wasm/wasm-guest-ratelimit/src/lib.rs +++ b/sgl-model-gateway/examples/wasm/wasm-guest-ratelimit/src/lib.rs @@ -1,7 +1,7 @@ -//! WASM Guest Rate Limit Example for sgl-router +//! WASM Guest Rate Limit Example for sgl-model-gateway //! //! This example demonstrates rate limiting middleware -//! for sgl-router using the WebAssembly Component Model. +//! for sgl-model-gateway using the WebAssembly Component Model. //! //! Features: //! - Rate limiting based on API Key or IP address @@ -14,7 +14,7 @@ wit_bindgen::generate!({ path: "../../../src/wasm/interface", - world: "sgl-router", + world: "sgl-model-gateway", }); use std::cell::RefCell;