test(provider): tidy Anthropic fallback imports

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Xubin Ren 2026-05-01 15:42:58 +00:00 committed by Xubin Ren
parent 4c54a2b153
commit fd1a5a6267

View File

@ -16,7 +16,6 @@ import pytest
from nanobot.providers.anthropic_provider import AnthropicProvider from nanobot.providers.anthropic_provider import AnthropicProvider
from nanobot.providers.base import LLMResponse from nanobot.providers.base import LLMResponse
_LONG_REQUEST_MESSAGE = ( _LONG_REQUEST_MESSAGE = (
"Streaming is required for operations that may take longer than 10 minutes. " "Streaming is required for operations that may take longer than 10 minutes. "
"See https://github.com/anthropics/anthropic-sdk-python#long-requests for more details" "See https://github.com/anthropics/anthropic-sdk-python#long-requests for more details"