Add API retries and concurrent batch processing
This commit is contained in:
@@ -24,4 +24,6 @@ def test_missing_api_key_is_rejected(monkeypatch: pytest.MonkeyPatch) -> None:
|
||||
|
||||
def test_feature_only_settings_can_omit_key(monkeypatch: pytest.MonkeyPatch) -> None:
|
||||
monkeypatch.delenv("GLM_API_KEY", raising=False)
|
||||
assert Settings.from_env(require_api_key=False).api_key == ""
|
||||
settings = Settings.from_env(require_api_key=False)
|
||||
assert settings.api_key == ""
|
||||
assert settings.max_retries == 5
|
||||
|
||||
Reference in New Issue
Block a user