Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
7c5a0a1b
Unverified
Commit
7c5a0a1b
authored
Sep 12, 2025
by
Simo Lin
Committed by
GitHub
Sep 12, 2025
Browse files
[router] add not implemented functions for multi model trait (#10394)
parent
49f169d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
1 deletion
+41
-1
sgl-router/src/routers/router_manager.rs
sgl-router/src/routers/router_manager.rs
+41
-1
No files found.
sgl-router/src/routers/router_manager.rs
View file @
7c5a0a1b
...
@@ -658,7 +658,47 @@ impl RouterTrait for RouterManager {
...
@@ -658,7 +658,47 @@ impl RouterTrait for RouterManager {
_
body
:
&
ResponsesRequest
,
_
body
:
&
ResponsesRequest
,
_
model_id
:
Option
<&
str
>
,
_
model_id
:
Option
<&
str
>
,
)
->
Response
{
)
->
Response
{
todo!
()
(
StatusCode
::
NOT_IMPLEMENTED
,
"responses api not yet implemented in inference gateway mode"
,
)
.into_response
()
}
async
fn
get_response
(
&
self
,
_
headers
:
Option
<&
HeaderMap
>
,
_
response_id
:
&
str
)
->
Response
{
(
StatusCode
::
NOT_IMPLEMENTED
,
"responses api not yet implemented in inference gateway mode"
,
)
.into_response
()
}
async
fn
cancel_response
(
&
self
,
_
headers
:
Option
<&
HeaderMap
>
,
_
response_id
:
&
str
)
->
Response
{
(
StatusCode
::
NOT_IMPLEMENTED
,
"responses api not yet implemented in inference gateway mode"
,
)
.into_response
()
}
async
fn
delete_response
(
&
self
,
_
headers
:
Option
<&
HeaderMap
>
,
_
response_id
:
&
str
)
->
Response
{
(
StatusCode
::
NOT_IMPLEMENTED
,
"responses api not yet implemented in inference gateway mode"
,
)
.into_response
()
}
async
fn
list_response_input_items
(
&
self
,
_
headers
:
Option
<&
HeaderMap
>
,
_
response_id
:
&
str
,
)
->
Response
{
(
StatusCode
::
NOT_IMPLEMENTED
,
"responses api not yet implemented in inference gateway mode"
,
)
.into_response
()
}
}
/// Route embeddings request
/// Route embeddings request
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment