From dc73eeb92a441123596b3f3420a757074ee62345 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 12 May 2024 20:56:20 +0000 Subject: [PATCH] feat(api): update via SDK Studio (#38) --- README.md | 10 +++++----- SECURITY.md | 27 +++++++++++++++++++++++++++ tests/test_client.py | 8 ++++---- 3 files changed, 36 insertions(+), 9 deletions(-) create mode 100644 SECURITY.md diff --git a/README.md b/README.md index 3e2d442..82c11cd 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ try: messages=[ { "role": "system", - "content": "You are a helpful assisstant.", + "content": "You are a helpful assistant.", }, { "role": "user", @@ -158,7 +158,7 @@ client.with_options(max_retries=5).chat.completions.create( messages=[ { "role": "system", - "content": "You are a helpful assisstant.", + "content": "You are a helpful assistant.", }, { "role": "user", @@ -193,7 +193,7 @@ client.with_options(timeout=5.0).chat.completions.create( messages=[ { "role": "system", - "content": "You are a helpful assisstant.", + "content": "You are a helpful assistant.", }, { "role": "user", @@ -243,7 +243,7 @@ client = Groq() response = client.chat.completions.with_raw_response.create( messages=[{ "role": "system", - "content": "You are a helpful assisstant.", + "content": "You are a helpful assistant.", }, { "role": "user", "content": "Explain the importance of low latency LLMs", @@ -271,7 +271,7 @@ with client.chat.completions.with_streaming_response.create( messages=[ { "role": "system", - "content": "You are a helpful assisstant.", + "content": "You are a helpful assistant.", }, { "role": "user", diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..9550f35 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,27 @@ +# Security Policy + +## Reporting Security Issues + +This SDK is generated by [Stainless Software Inc](http://stainlessapi.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken. + +To report a security issue, please contact the Stainless team at security@stainlessapi.com. + +## Responsible Disclosure + +We appreciate the efforts of security researchers and individuals who help us maintain the security of +SDKs we generate. If you believe you have found a security vulnerability, please adhere to responsible +disclosure practices by allowing us a reasonable amount of time to investigate and address the issue +before making any information public. + +## Reporting Non-SDK Related Security Issues + +If you encounter security issues that are not directly related to SDKs but pertain to the services +or products provided by Groq please follow the respective company's security reporting guidelines. + +### Groq Terms and Policies + +Please contact support@groq.com for any questions or concerns regarding security of our services. + +--- + +Thank you for helping us keep the SDKs and systems they interact with secure. diff --git a/tests/test_client.py b/tests/test_client.py index 6426d8a..aef9164 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -693,7 +693,7 @@ def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter) -> No messages=[ { "role": "system", - "content": "You are a helpful assisstant.", + "content": "You are a helpful assistant.", }, { "role": "user", @@ -723,7 +723,7 @@ def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter) -> Non messages=[ { "role": "system", - "content": "You are a helpful assisstant.", + "content": "You are a helpful assistant.", }, { "role": "user", @@ -1401,7 +1401,7 @@ async def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter) messages=[ { "role": "system", - "content": "You are a helpful assisstant.", + "content": "You are a helpful assistant.", }, { "role": "user", @@ -1431,7 +1431,7 @@ async def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter) messages=[ { "role": "system", - "content": "You are a helpful assisstant.", + "content": "You are a helpful assistant.", }, { "role": "user",