Client application for agents · Question 12 of 12

A Python client creates an agent with create_version, gets a client with get_openai_client(agent_name=…) and calls responses.create(input=…) twice without conversation. The second response doesn't know the first question. What is missing?

1 answer is correct. Hard Created with AI

Show answer

Answer

  • C A conversation from conversations.create() whose ID both calls use

Explanation

The agent definition provides instructions and tools but no conversation history. A conversation holds it, and each call passes its ID. Without it, every request is a new, independent conversation.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications