File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
tests/integrations/langchain Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 5151)
5252
5353from openai .types .completion_usage import (
54- CompletionTokensDetails ,
5554 CompletionUsage ,
56- PromptTokensDetails ,
5755)
5856
5957LANGCHAIN_VERSION = package_version ("langchain" )
@@ -363,14 +361,6 @@ def test_langchain_openai_tools_agent(
363361 prompt_tokens = 142 ,
364362 completion_tokens = 50 ,
365363 total_tokens = 192 ,
366- prompt_tokens_details = PromptTokensDetails (
367- audio_tokens = 0 ,
368- cached_tokens = 0 ,
369- ),
370- completion_tokens_details = CompletionTokensDetails (
371- audio_tokens = 0 ,
372- reasoning_tokens = 0 ,
373- ),
374364 ),
375365 ),
376366 ],
@@ -430,14 +420,6 @@ def test_langchain_openai_tools_agent(
430420 prompt_tokens = 89 ,
431421 completion_tokens = 28 ,
432422 total_tokens = 117 ,
433- prompt_tokens_details = PromptTokensDetails (
434- audio_tokens = 0 ,
435- cached_tokens = 0 ,
436- ),
437- completion_tokens_details = CompletionTokensDetails (
438- audio_tokens = 0 ,
439- reasoning_tokens = 0 ,
440- ),
441423 ),
442424 ),
443425 ],
You can’t perform that action at this time.
0 commit comments