llama-stack-mirror/tests/integration/responses
Ashwin Bharambe e9b4278a51
feat(responses)!: improve responses + conversations implementations (#3810)
This PR updates the Conversation item related types and improves a
couple critical parts of the implemenation:

- it creates a streaming output item for the final assistant message
output by
  the model. until now we only added content parts and included that
  message in the final response.

- rewrites the conversation update code completely to account for items
  other than messages (tool calls, outputs, etc.)

## Test Plan

Used the test script from
https://github.com/llamastack/llama-stack-client-python/pull/281 for
this

```
TEST_API_BASE_URL=http://localhost:8321/v1 \
  pytest tests/integration/test_agent_turn_step_events.py::test_client_side_function_tool -xvs
```
2025-10-15 09:36:11 -07:00
..
fixtures feat(responses)!: improve responses + conversations implementations (#3810) 2025-10-15 09:36:11 -07:00
recordings feat(responses)!: improve responses + conversations implementations (#3810) 2025-10-15 09:36:11 -07:00
__init__.py feat(tests): introduce a test "suite" concept to encompass dirs, options (#3339) 2025-09-05 13:58:49 -07:00
helpers.py feat(responses)!: improve responses + conversations implementations (#3810) 2025-10-15 09:36:11 -07:00
streaming_assertions.py feat(responses)!: add in_progress, failed, content part events (#3765) 2025-10-10 07:27:34 -07:00
test_basic_responses.py feat(responses): implement usage tracking in streaming responses (#3771) 2025-10-10 12:27:03 -07:00
test_conversation_responses.py feat: Add support for Conversations in Responses API (#3743) 2025-10-10 11:57:40 -07:00
test_extra_body_shields.py feat(tests): make inference_recorder into api_recorder (include tool_invoke) (#3403) 2025-10-09 14:27:51 -07:00
test_file_search.py feat(responses)!: add reasoning and annotation added events (#3793) 2025-10-11 16:47:14 -07:00
test_tool_responses.py feat(tests): make inference_recorder into api_recorder (include tool_invoke) (#3403) 2025-10-09 14:27:51 -07:00