diff --git a/spec/03-plugins/40-ai-response-transformer/02-integration_spec.lua b/spec/03-plugins/40-ai-response-transformer/02-integration_spec.lua index 29ed47e41ea9..287acf2dc4c0 100644 --- a/spec/03-plugins/40-ai-response-transformer/02-integration_spec.lua +++ b/spec/03-plugins/40-ai-response-transformer/02-integration_spec.lua @@ -436,7 +436,7 @@ for _, strategy in helpers.all_strategies() do if strategy ~= "cassandra" then log_message.ai["ai-response-transformer"].usage.time_per_token = 1 assert.same(_EXPECTED_CHAT_STATS, log_message.ai) - assert.is_true(actual_llm_latency > 0) + assert.is_true(actual_llm_latency >= 0) assert.same(actual_time_per_token, time_per_token) end)