Skip to content

Commit

Permalink
Fix typo: vesion -> version, succsesfully -> successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
tadayosi committed Sep 18, 2024
1 parent c6dde82 commit 1a3cc00
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/large_models/utils/test_llm_streaming_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def parse_args():
"--model-version",
type=str,
default="1.0",
help="Model vesion. Default: 1.0",
help="Model version. Default: 1.0",
)

return parser.parse_args()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ private static Operation getSetDefaultOperation() {
MediaType error = getErrorResponse();

operation.addResponse(
new Response("200", "Default vesion succsesfully updated for model", status));
new Response("200", "Default version successfully updated for model", status));
operation.addResponse(
new Response("404", "Model not found or Model version not found", error));
operation.addResponse(new Response("500", "Internal Server Error", error));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static String setDefault(String modelName, String newModelVersion)
ModelManager modelManager = ModelManager.getInstance();
modelManager.setDefaultVersion(modelName, newModelVersion);
String msg =
"Default vesion succsesfully updated for model \""
"Default version successfully updated for model \""
+ modelName
+ "\" to \""
+ newModelVersion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ public void testSetDefaultVersionNoop() throws InterruptedException {
StatusResponse resp = JsonUtils.GSON.fromJson(TestUtils.getResult(), StatusResponse.class);
Assert.assertEquals(
resp.getStatus(),
"Default vesion succsesfully updated for model \"noopversioned\" to \"1.2.1\"");
"Default version successfully updated for model \"noopversioned\" to \"1.2.1\"");
}

@Test(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1671,7 +1671,7 @@
],
"responses": {
"200": {
"description": "Default vesion succsesfully updated for model",
"description": "Default version successfully updated for model",
"content": {
"application/json": {
"schema": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,7 @@
],
"responses": {
"200": {
"description": "Default vesion succsesfully updated for model",
"description": "Default version successfully updated for model",
"content": {
"application/json": {
"schema": {
Expand Down

0 comments on commit 1a3cc00

Please sign in to comment.