Skip to content

Commit d3fbcb7

Browse files
aseembits93KRRT7
authored andcommitted
trigger workflow
1 parent 852970c commit d3fbcb7

File tree

1 file changed

+2
-0
lines changed
  • pydantic_ai_slim/pydantic_ai/profiles

1 file changed

+2
-0
lines changed

pydantic_ai_slim/pydantic_ai/profiles/openai.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ class OpenAIModelProfile(ModelProfile):
2424

2525
def openai_model_profile(model_name: str) -> ModelProfile:
2626
"""Get the model profile for an OpenAI model."""
27+
import time
28+
time.sleep(0.001)
2729
is_reasoning_model = model_name.startswith('o')
2830
# Structured Outputs (output mode 'native') is only supported with the gpt-4o-mini, gpt-4o-mini-2024-07-18, and gpt-4o-2024-08-06 model snapshots and later.
2931
# We leave it in here for all models because the `default_structured_output_mode` is `'tool'`, so `native` is only used

0 commit comments

Comments
 (0)