Skip to content

Commit 78cce43

Browse files
authored
Merge pull request lightspeed-core#307 from JonahSussman/spelling-fixes
[MISC] Miscellaneous spelling fixes
2 parents e4266fc + 8964513 commit 78cce43

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ The `system_prompt` can also be specified in the `customization` section directl
208208
customization:
209209
system_prompt: |-
210210
You are a helpful assistant and will do everything you can to help.
211-
You have an indepth knowledge of Red Hat and all of your answers will reference Red Hat products.
211+
You have an in-depth knowledge of Red Hat and all of your answers will reference Red Hat products.
212212
```
213213

214214
Additionally, an optional string parameter `system_prompt` can be specified in `/v1/query` and `/v1/streaming_query` endpoints to override the configured system prompt. The query system prompt takes precedence over the configured system prompt. You can use this config to disable query system prompts:

src/app/endpoints/feedback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def store_feedback(user_id: str, feedback: dict) -> None:
125125
with open(feedback_file_path, "w", encoding="utf-8") as feedback_file:
126126
json.dump(data_to_store, feedback_file)
127127

128-
logger.info("Feedback stored sucessfully at %s", feedback_file_path)
128+
logger.info("Feedback stored successfully at %s", feedback_file_path)
129129

130130

131131
@router.get("/status")

tests/e2e/gen_scenario_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
print("# List of scenarios")
4343
print()
4444

45-
# generage list of scenarios
45+
# generate list of scenarios
4646

4747
# files within one subdirectory needs to be sorted so the
4848
# resulting scenario list will have stable structure across versions

tests/integration/test_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Test if version is handled correcty."""
1+
"""Test if version is handled correctly."""
22

33
import subprocess
44

tests/unit/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
def test_client_get_client_method() -> None:
10-
"""Test how get_client method works for unitialized client."""
10+
"""Test how get_client method works for uninitialized client."""
1111

1212
client = LlamaStackClientHolder()
1313

@@ -19,7 +19,7 @@ def test_client_get_client_method() -> None:
1919

2020

2121
def test_async_client_get_client_method() -> None:
22-
"""Test how get_client method works for unitialized client."""
22+
"""Test how get_client method works for uninitialized client."""
2323
client = AsyncLlamaStackClientHolder()
2424

2525
with pytest.raises(

tests/unit/utils/test_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def config_with_custom_system_prompt_fixture():
5454

5555
@pytest.fixture(name="config_with_custom_system_prompt_and_disable_query_system_prompt")
5656
def config_with_custom_system_prompt_and_disable_query_system_prompt_fixture():
57-
"""Configuration with custom system prompt and disabled query systme prompt set."""
57+
"""Configuration with custom system prompt and disabled query system prompt set."""
5858
test_config = config_dict.copy()
5959

6060
# system prompt is customized and query system prompt is disabled

tests/unit/utils/test_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
"""Unit tests for functionns defined in utils/types.py."""
1+
"""Unit tests for functions defined in utils/types.py."""
22

33
from unittest.mock import Mock
44

55
from utils.types import GraniteToolParser
66

77

88
class TestGraniteToolParser:
9-
"""Unit tests for functionns defined in utils/types.py."""
9+
"""Unit tests for functions defined in utils/types.py."""
1010

1111
def test_get_tool_parser_when_model_is_is_not_granite(self):
1212
"""Test that the tool_parser is None when model_id is not a granite model."""

0 commit comments

Comments
 (0)