Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
desaxce committed Aug 26, 2024
1 parent f2065cf commit 079c6fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions literalai/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ class LiteralAPI(BaseLiteralAPI):
```python
from literalai import LiteralClient
# Initialize the client
client = LiteralClient(api_key="your_api_key_here")
literalai_client = LiteralClient(api_key="your_api_key_here")
# Access the API's methods
print(client.api)
print(literalai_client.api)
```
"""

Expand Down Expand Up @@ -1386,9 +1386,9 @@ class AsyncLiteralAPI(BaseLiteralAPI):
```python
from literalai import AsyncLiteralClient
# Initialize the client
async_client = AsyncLiteralClient(api_key="your_api_key_here")
async_literalai_client = AsyncLiteralClient(api_key="your_api_key_here")
# Access the API's methods
print(async_client.api)
print(async_literalai_client.api)
```
"""

Expand Down
2 changes: 1 addition & 1 deletion literalai/instrumentation/mistralai.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def streaming_response(
time.time() - context["start"]
) * 1000
token_count += 1
completion += chunk.data.choices[0].delta.content
completion += str(chunk.data.choices[0].delta.content)

if (
generation
Expand Down

0 comments on commit 079c6fa

Please sign in to comment.