diff --git a/include/llmr/platform/platform.hpp b/include/llmr/platform/platform.hpp index f56e738ff..4aa2fb571 100644 --- a/include/llmr/platform/platform.hpp +++ b/include/llmr/platform/platform.hpp @@ -23,7 +23,7 @@ struct Response { std::string body; }; -void request_http(std::string url, std::function func, std::function cb); +void request_http(std::string url, std::function background_function, std::function foreground_callback); // Returns a relative timestamp in seconds. This value must be monotonic. double time();