feat: release 2.4.0 with original cases and automatic human review
This commit is contained in:
1 parent
baf069854b
commit
4dc2057d43
66 files changed
+1390
-206
No files matched your search
@@ -17,6 +17,7 @@
|
||||
import httpx
|
||||
|
||||
from artemis.config.settings import settings
|
||||
from artemis.llm.http import model_http_options
|
||||
|
||||
from artemis.utils.logger import get_logger
|
||||
|
||||
@@ -91,7 +92,8 @@ async def validate_api_key(
|
||||
|
||||
try:
|
||||
async with httpx.AsyncClient(
|
||||
timeout=timeout if timeout is not None else settings.ARTEMIS_CREDENTIAL_TIMEOUT_SECONDS
|
||||
timeout=timeout if timeout is not None else settings.ARTEMIS_CREDENTIAL_TIMEOUT_SECONDS,
|
||||
**(model_http_options() if clean_provider == "openai" else {}),
|
||||
) as client:
|
||||
if clean_provider in ("ocr", "vision", "google_vision"):
|
||||
# Test Google Cloud Vision OCR API
|
||||
|
||||
Reference in new issue
Block a user