[model-gateway] fix left over sgl-router names in wasm (#14514)
This commit is contained in:
@@ -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
|
//! 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:
|
//! Features:
|
||||||
//! - API Key authentication
|
//! - API Key authentication
|
||||||
|
|
||||||
wit_bindgen::generate!({
|
wit_bindgen::generate!({
|
||||||
path: "../../../src/wasm/interface",
|
path: "../../../src/wasm/interface",
|
||||||
world: "sgl-router",
|
world: "sgl-model-gateway",
|
||||||
});
|
});
|
||||||
|
|
||||||
use exports::sgl::router::{
|
use exports::sgl::router::{
|
||||||
|
|||||||
@@ -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
|
//! 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:
|
//! Features:
|
||||||
//! - Request tracking and tracing headers
|
//! - Request tracking and tracing headers
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
wit_bindgen::generate!({
|
wit_bindgen::generate!({
|
||||||
path: "../../../src/wasm/interface",
|
path: "../../../src/wasm/interface",
|
||||||
world: "sgl-router",
|
world: "sgl-model-gateway",
|
||||||
});
|
});
|
||||||
|
|
||||||
use exports::sgl::router::{
|
use exports::sgl::router::{
|
||||||
|
|||||||
@@ -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
|
//! This example demonstrates rate limiting middleware
|
||||||
//! for sgl-router using the WebAssembly Component Model.
|
//! for sgl-model-gateway using the WebAssembly Component Model.
|
||||||
//!
|
//!
|
||||||
//! Features:
|
//! Features:
|
||||||
//! - Rate limiting based on API Key or IP address
|
//! - Rate limiting based on API Key or IP address
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
wit_bindgen::generate!({
|
wit_bindgen::generate!({
|
||||||
path: "../../../src/wasm/interface",
|
path: "../../../src/wasm/interface",
|
||||||
world: "sgl-router",
|
world: "sgl-model-gateway",
|
||||||
});
|
});
|
||||||
|
|
||||||
use std::cell::RefCell;
|
use std::cell::RefCell;
|
||||||
|
|||||||
Reference in New Issue
Block a user