Description Target release: 0.23.0
What to remove
register_llm_provider : remove function from nemoguardrails/llm/providers/__init__.py
get_llm_provider_names : remove function from nemoguardrails/llm/providers/__init__.py
LangChainFramework.register_llm_provider : remove method from nemoguardrails/integrations/langchain/llm_adapter.py
LangChainFramework.get_llm_provider_names : remove method from nemoguardrails/integrations/langchain/llm_adapter.py
_llm_providers dict : remove from nemoguardrails/integrations/langchain/providers/providers.py
_discover_langchain_community_llm_providers() : remove from nemoguardrails/integrations/langchain/providers/providers.py
_patch_acall_method_to() : remove (only used for llm providers)
_get_text_completion_provider() : remove from nemoguardrails/integrations/langchain/providers/providers.py
_init_text_completion_model() : remove from nemoguardrails/integrations/langchain/langchain_initializer.py
CLI warning suppression : remove warnings.catch_warnings blocks from nemoguardrails/cli/providers.py, collapse to single provider list
mode parameter : remove from init_llm_model() and LangChainFramework.create_model() kwargs handling
Test cleanup : remove test_discover_langchain_community_llm_providers and related tests from tests/llm/test_version_compatibility.py
Tests to update
tests/test_custom_llm.py::test_custom_llm_registration: remove or convert to chat provider test
tests/llm/test_frameworks.py::TestProviderRegistration: remove llm provider tests, remove clean_providers fixture llm backup
tests/llm/test_version_compatibility.py: remove llm provider discovery tests
tests/test_configs/with_custom_llm/: convert to chat model or remove
Reactions are currently unavailable
You can’t perform that action at this time.
Target release: 0.23.0
What to remove
register_llm_provider: remove function fromnemoguardrails/llm/providers/__init__.pyget_llm_provider_names: remove function fromnemoguardrails/llm/providers/__init__.pyLangChainFramework.register_llm_provider: remove method fromnemoguardrails/integrations/langchain/llm_adapter.pyLangChainFramework.get_llm_provider_names: remove method fromnemoguardrails/integrations/langchain/llm_adapter.py_llm_providersdict: remove fromnemoguardrails/integrations/langchain/providers/providers.py_discover_langchain_community_llm_providers(): remove fromnemoguardrails/integrations/langchain/providers/providers.py_patch_acall_method_to(): remove (only used for llm providers)_get_text_completion_provider(): remove fromnemoguardrails/integrations/langchain/providers/providers.py_init_text_completion_model(): remove fromnemoguardrails/integrations/langchain/langchain_initializer.pywarnings.catch_warningsblocks fromnemoguardrails/cli/providers.py, collapse to single provider listmodeparameter: remove frominit_llm_model()andLangChainFramework.create_model()kwargs handlingtest_discover_langchain_community_llm_providersand related tests fromtests/llm/test_version_compatibility.pyTests to update
tests/test_custom_llm.py::test_custom_llm_registration: remove or convert to chat provider testtests/llm/test_frameworks.py::TestProviderRegistration: remove llm provider tests, removeclean_providersfixture llm backuptests/llm/test_version_compatibility.py: remove llm provider discovery teststests/test_configs/with_custom_llm/: convert to chat model or remove