SIGN IN SIGN UP
microsoft / autogen UNCLAIMED

A programming framework for agentic AI

0 0 104 Python

[Core] Throw an error when the OAI_CONFIG_LIST is missing. (#1082)

* Throw an explicit and proper error when someone asks to load the OAI_CONFIG_LIST, and it is missing.

* Updated to use pytest.raises. Added docstring. Updated some tests to not try to load the config_list when skipping OAI tests.

* Fixed wrong indentation in config_list_from_json, and updated test_utils to work with non-empty lists.

* Read key location from global constants.

* Added missingpath.

* Moved config_list_from_json to inside a skip check.
A
afourney committed
4fcc45f14034f43df104ac5b60687ef1a0b60044
Parent: fed9384
Committed by GitHub <noreply@github.com> on 1/3/2024, 4:58:58 PM