Skip to content

Commit 11a57b1

Browse files
committed
Fix OpenAI test
1 parent 9cbee66 commit 11a57b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/recorders/test_openai_recorder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ async def test_chat_completion_create(self, mocked_upload_span):
137137
self.assertEqual(find_tag(model, 'model_type'), 'chat')
138138
self.assertEqual(find_tag(model, 'reasoning_effort'), 'low')
139139
self.assertEqual(find_tag(model, 'api_provider'), 'openai')
140-
self.assertEqual(find_tag(model, 'library'), 'openai-python-1.61.1')
140+
self.assertIsNotNone(find_tag(model, 'library'))
141141
self.assertEqual(find_tag(model, 'operation'), 'openai.chat.completions.create')
142142
self.assertEqual(find_tag(model, 'endpoint'), 'https://api.openai.com/v1/chat/completions')
143143
self.assertEqual(find_tag(model, 'model'), 'gpt-3.5-turbo')

0 commit comments

Comments
 (0)