fix: dual boost only in planning mode (#1215)

This commit is contained in:
Omar Crespo 2025-02-10 12:40:49 -05:00 committed by GitHub
parent c07d396e30
commit 6e18616c16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -449,7 +449,7 @@ M.stream = function(opts)
return original_on_stop(stop_opts)
end)
end
if Config.dual_boost.enabled then
if Config.dual_boost.enabled and opts.mode == "planning" then
M._dual_boost_stream(opts, P[Config.dual_boost.first_provider], P[Config.dual_boost.second_provider])
else
M._stream(opts)