[model-gateway] fix left over sgl-router names in wasm (#14514)

This commit is contained in:
Simo Lin
2025-12-05 13:16:58 -08:00
committed by GitHub
parent 09376fd738
commit b72f0268c7
3 changed files with 9 additions and 9 deletions

View File

@@ -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::{

View File

@@ -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::{

View File

@@ -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;