We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99e41b9 commit 66eaf7bCopy full SHA for 66eaf7b
1 file changed
tests/test_base_url.py
@@ -41,7 +41,10 @@ def test_anthropic_base_url():
41
def test_default_base_url():
42
"""Test that agents work without base_url (use default)"""
43
# This should not raise an error
44
- Agent(model="gpt-4", api_key="test-key")
+ try:
45
+ Agent(model="gpt-4", api_key="test-key")
46
+ except ImportError:
47
+ pass # Skip if openai not installed
48
49
try:
50
Agent(model="claude-3-5-sonnet-20241022", api_key="test-key")
0 commit comments