Skip to content

Commit dedadb1

Browse files
committed
fix(imports): model config in tests
1 parent a008799 commit dedadb1

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

tests/working_models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import structlog
44

55
from flare_ai_consensus.config import config
6+
from flare_ai_consensus.consensus.config import ModelConfig
67
from flare_ai_consensus.router.client import AsyncOpenRouterClient
78
from flare_ai_consensus.utils.loader import load_json
89
from flare_ai_consensus.utils.saver import save_json
@@ -12,7 +13,7 @@
1213

1314
async def _test_model_completion(
1415
client: AsyncOpenRouterClient,
15-
model: dict,
16+
model: ModelConfig,
1617
test_prompt: str,
1718
api_endpoint: str,
1819
delay: float = 1.0,

uv.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)