Skip to content

Commit

Permalink
Add additional testing
Browse files Browse the repository at this point in the history
  • Loading branch information
fpetrini15 committed Jan 22, 2024
1 parent 953e7fe commit 0fc3acc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qa/L0_http/generate_endpoint_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def test_complex_schema(self):
inputs = {
"PROMPT": "hello world",
"STREAM": True,
"PARAMS": {"PARAM_0": 0, "PARAM_1": True},
"PARAMS": {"PARAM_0": 0, "PARAM_1": True, "PARAM_2": 123.123},
}
r = self.generate(self._model_name, inputs)
try:
Expand Down
2 changes: 1 addition & 1 deletion src/http_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3822,7 +3822,7 @@ HTTPAPIServer::InferRequestClass::FinalizeResponse(
name, reinterpret_cast<const char*>(vvalue)));
break;
case TRITONSERVER_PARAMETER_DOUBLE:
RETURN_IF_ERR(params_json.AddInt(
RETURN_IF_ERR(params_json.AddDouble(
name, *(reinterpret_cast<const double*>(vvalue))));
break;
case TRITONSERVER_PARAMETER_BYTES:
Expand Down

0 comments on commit 0fc3acc

Please sign in to comment.