Skip to content

Commit c7f14e9

Browse files
authored
(code quality) run ruff rule to ban unused imports (BerriAI#7313)
* remove unused imports * fix AmazonConverseConfig * fix test * fix import * ruff check fixes * test fixes * fix testing * fix imports
1 parent 5e34449 commit c7f14e9

File tree

347 files changed

+5397
-7131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

347 files changed

+5397
-7131
lines changed

.github/workflows/locustfile.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
from locust import HttpUser, task, between, events
2-
import json
3-
import time
1+
from locust import HttpUser, task, between
42

53

64
class MyUser(HttpUser):
@@ -10,7 +8,7 @@ class MyUser(HttpUser):
108
def chat_completion(self):
119
headers = {
1210
"Content-Type": "application/json",
13-
"Authorization": f"Bearer sk-ZoHqrLIs2-5PzJrqBaviAA",
11+
"Authorization": "Bearer sk-ZoHqrLIs2-5PzJrqBaviAA",
1412
# Include any additional headers you may need for authentication, etc.
1513
}
1614

cookbook/Benchmarking_LLMs_by_use_case.ipynb

+712-716
Large diffs are not rendered by default.

cookbook/Evaluating_LLMs.ipynb

+565-567
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)