feat: set store=False and add run_inference tests

Set store=False in Responses API calls since we send full conversation
history as input items and don't use previous_response_id.

Add 5 run_inference tests for OpenAIResponsesLLMService using real
LLMContext and adapter (only HTTP client mocked).
This commit is contained in:
Paul Kompfner
2026-03-18 14:47:12 -04:00
committed by Mark Backman
parent cd2886a4a8
commit c66a5a8ede
3 changed files with 14 additions and 2 deletions

View File

@@ -801,6 +801,7 @@ async def test_openai_responses_run_inference_with_llm_context():
call_kwargs = service._client.responses.create.call_args.kwargs
assert call_kwargs["model"] == "gpt-4.1"
assert call_kwargs["stream"] is False
assert call_kwargs["store"] is False
assert call_kwargs["input"] == [{"role": "user", "content": "Hello, world!"}]
assert call_kwargs["instructions"] == "You are a helpful assistant"
assert call_kwargs["temperature"] == 0.7