Unverified Commit 7c5a0a1b authored by Simo Lin's avatar Simo Lin Committed by GitHub
Browse files

[router] add not implemented functions for multi model trait (#10394)

parent 49f169d5
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment