AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(backend/copilot): fix stale docstring referencing anthropic.omit instead of NOT_GIVEN
Zamil Majdye5ea2e0d5bab
diff --git a/autogpt_platform/backend/backend/blocks/test/test_llm.py b/autogpt_platform/backend/backend/blocks/test/test_llm.pyindex 7bf6779a9d..f198ad000f 100644--- a/autogpt_platform/backend/backend/blocks/test/test_llm.py+++ b/autogpt_platform/backend/backend/blocks/test/test_llm.py@@ -1223,7 +1223,7 @@ class TestAnthropicCacheControl:@pytest.mark.asyncioasync def test_no_tools_no_cache_control_on_tools(self):- """When there are no tools, the Anthropic call receives anthropic.omit for tools."""+ """When there are no tools, the Anthropic call receives anthropic.NOT_GIVEN for tools."""mock_resp = MagicMock()mock_resp.content = [MagicMock(type="text", text="ok")]mock_resp.usage = MagicMock(input_tokens=5, output_tokens=2)