Skip to content

Commit 2fb64cb

Browse files
committed
fix(linter): issues with ruff check
1 parent 935b5d9 commit 2fb64cb

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/flare_ai_consensus/config.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
import structlog
44
from pydantic_settings import BaseSettings, SettingsConfigDict
55

6-
logger = structlog.get_logger(__name__)
7-
import structlog
8-
from pydantic_settings import BaseSettings, SettingsConfigDict
9-
106
logger = structlog.get_logger(__name__)
117

128

tests/working_models.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ async def _test_model_completion(
1717
test_prompt: str,
1818
api_endpoint: str,
1919
delay: float = 1.0,
20-
) -> tuple[ModelConfig, bool]:
2120
) -> tuple[ModelConfig, bool]:
2221
"""
2322
Asynchronously sends a test request for a model using the specified API endpoint.
@@ -49,8 +48,6 @@ async def _test_model_completion(
4948
"messages": [{"role": "user", "content": test_prompt}],
5049
"max_tokens": model.max_tokens,
5150
"temperature": model.temperature,
52-
"max_tokens": model.max_tokens,
53-
"temperature": model.temperature,
5451
}
5552
send_func = client.send_chat_completion
5653
else:

0 commit comments

Comments
 (0)