MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / handle_version

Method handle_version

src/server/rest_handler.cpp:900–907  ·  view source on GitHub ↗

@brief Handle the version request @param request the request @param send_response the send response @param send_streaming_response the send streaming response

Source from the content-addressed store, hash-verified

898///@param send_response the send response
899///@param send_streaming_response the send streaming response
900void RestHandler::handle_version(const json& request,
901 std::function<void(const json&)> send_response,
902 StreamResponseCallback send_streaming_response) {
903 std::string version = __FLM_VERSION__;
904
905 json response = {{"version", version}};
906 send_response(response);
907}
908
909///@brief Handle the models request (open ai)
910///@param request the request

Callers 1

create_lm_serverFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected