openai-agents-python/src/agents/models/fake_id.py
2025-03-11 09:42:28 -07:00

5 lines
268 B
Python

FAKE_RESPONSES_ID = "__fake_id__"
"""This is a placeholder ID used to fill in the `id` field in Responses API related objects. It's
useful when you're creating Responses objects from non-Responses APIs, e.g. the OpenAI Chat
Completions API or other LLM providers.
"""