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
@@ -0,0 +1,15 @@
|
||||
"""Environment-only network policy shared by model calls and credential checks."""
|
||||
|
||||
from typing import Any
|
||||
|
||||
import httpx
|
||||
|
||||
from artemis.config.settings import settings
|
||||
|
||||
|
||||
def model_http_options() -> dict[str, Any]:
|
||||
return {
|
||||
"trust_env": settings.OPENAI_USE_SYSTEM_PROXY,
|
||||
# Proxy opt-out must not disable configured CA certificates or TLS checks.
|
||||
"verify": httpx.create_ssl_context(trust_env=True),
|
||||
}
|
||||
Reference in new issue
Block a user