forked from phoenix/litellm-mirror
add debugging to BaseImageGenTest
This commit is contained in:
parent
c15359911a
commit
a6ce4254f0
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ class BaseImageGenTest(ABC):
|
|||
print(response)
|
||||
|
||||
assert response._hidden_params["response_cost"] is not None
|
||||
print("response_cost", response._hidden_params["response_cost"])
|
||||
from openai.types.images_response import ImagesResponse
|
||||
|
||||
ImagesResponse.model_validate(response.model_dump())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue