File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change 33import structlog
44from pydantic_settings import BaseSettings , SettingsConfigDict
55
6- logger = structlog .get_logger (__name__ )
7- import structlog
8- from pydantic_settings import BaseSettings , SettingsConfigDict
9-
106logger = structlog .get_logger (__name__ )
117
128
Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments