#!/usr/bin/env python3
"""
Generated test file for Long Input LLM Test
Framework: openai
Execution mode: sync
Streaming: no"""

import os
import sentry_sdk

from openai import OpenAI


sentry_sdk.init(
    dsn=os.environ.get("SENTRY_DSN"),
    traces_sample_rate=1.0,
    send_default_pii=True,
    stream_gen_ai_spans=True,
)

client = OpenAI()

def main():
    # Turn 1
    response = client.responses.create(
        model="gpt-4o-mini",
        instructions="You are a helpful assistant. Respond briefly.",
        input=[
        {
            "role": "user",
            "content": "Summarize this in one sentence: This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. This is a test message that will be repeated many times to create a very long input. "
        },
    ]
,
    )
    print(f"Turn 1 Response: {response.output_text}")

if __name__ == "__main__":
    with sentry_sdk.start_transaction(op="test", name="Long Input LLM Test"):
        main()
    sentry_sdk.flush(timeout=5)
