Improve AI daily report operations and dedupe observability
This commit is contained in:
@@ -28,8 +28,9 @@ class EnvConfigTests(unittest.TestCase):
|
||||
)
|
||||
|
||||
def test_resolve_llm_config_reports_missing_fields(self):
|
||||
with self.assertRaisesRegex(ValueError, "missing_llm_config: LLM_BASE_URL,LLM_MODEL"):
|
||||
resolve_llm_config({"LLM_API_KEY": "key"})
|
||||
with TemporaryDirectory() as temp_dir:
|
||||
with self.assertRaisesRegex(ValueError, "missing_llm_config: LLM_BASE_URL,LLM_MODEL"):
|
||||
resolve_llm_config({"LLM_API_KEY": "key"}, hermes_dir=Path(temp_dir))
|
||||
|
||||
def test_resolve_llm_config_follows_hermes_provider_config(self):
|
||||
with TemporaryDirectory() as temp_dir:
|
||||
|
||||
Reference in New Issue
Block a user