Skip to content

Commit

Permalink
(code quality) run ruff rule to ban unused imports (#7313)
Browse files Browse the repository at this point in the history
* remove unused imports

* fix AmazonConverseConfig

* fix test

* fix import

* ruff check fixes

* test fixes

* fix testing

* fix imports
  • Loading branch information
ishaan-jaff authored Dec 19, 2024
1 parent 5e34449 commit c7f14e9
Show file tree
Hide file tree
Showing 347 changed files with 5,397 additions and 7,131 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/locustfile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
from locust import HttpUser, task, between, events
import json
import time
from locust import HttpUser, task, between


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

Expand Down
1,428 changes: 712 additions & 716 deletions cookbook/Benchmarking_LLMs_by_use_case.ipynb

Large diffs are not rendered by default.

1,132 changes: 565 additions & 567 deletions cookbook/Evaluating_LLMs.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit c7f14e9

Please sign in to comment.