llama-stack icon indicating copy to clipboard operation
llama-stack copied to clipboard

feat: Add webmethod for deleting openai responses

Open 2000krysztof opened this issue 5 months ago • 5 comments

What does this PR do?

This PR creates a webmethod for deleting open AI responses, adds and implementation for it and makes an integration test for the OpenAI delete response method.

(Closes #2077)

Test Plan

Ran the standard tests and the pre-commit hooks and the unit tests.

(## Documentation)

For this pr I made the routes and implementation based on the current get and create methods. The unit tests were not able to handle this test due to the mock interface in use, which did not allow for effective CRUD to be tested. I instead created an integration test to match the existing ones in the test_openai_responses.

2000krysztof avatar May 14 '25 13:05 2000krysztof