From efa327a99806c6857660ea511721ab9cf3226cef Mon Sep 17 00:00:00 2001 From: Teknium Date: Wed, 1 Apr 2026 01:06:21 -0700 Subject: [PATCH] fix: add missing provider attrs to cli_obj test fixture _show_status() now references self.provider and self._provider_source, added after the original PR was submitted. --- tests/test_cli_context_warning.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_cli_context_warning.py b/tests/test_cli_context_warning.py index abf9c134..bf0c5aac 100644 --- a/tests/test_cli_context_warning.py +++ b/tests/test_cli_context_warning.py @@ -32,6 +32,8 @@ def cli_obj(_isolate): obj.session_id = None obj.api_key = "test" obj.base_url = "" + obj.provider = "test" + obj._provider_source = None # Mock agent with context compressor obj.agent = SimpleNamespace( context_compressor=SimpleNamespace(context_length=None)