diff --git a/CMakeLists.txt b/CMakeLists.txt index 5949349..fb69c3c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.16) -project(deepseek-use LANGUAGES CXX) +project(openai-api LANGUAGES CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) @@ -24,7 +24,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE} include_directories(3rd) find_package(CURL REQUIRED) -add_executable(deepseek-use main.cxx zapi.h zapi.cxx jsondata.h jsondata.cxx handle.h handle.cxx server.h server.cxx) -target_link_libraries(deepseek-use PRIVATE CURL::libcurl) +add_executable(openai-api main.cxx zapi.h zapi.cxx jsondata.h jsondata.cxx handle.h handle.cxx server.h server.cxx) +target_link_libraries(openai-api PRIVATE CURL::libcurl) -add_executable(deepseek-client-test client_test.cxx) \ No newline at end of file +add_executable(openai-api-test client_test.cxx) \ No newline at end of file diff --git a/main.cxx b/main.cxx index 3efa909..c5033e3 100644 --- a/main.cxx +++ b/main.cxx @@ -30,6 +30,7 @@ std::string show_api(const std::string& api) int main(int argc, char* argv[]) { + std::cout << "Version: 0.9.0" << std::endl; if (argc < 2) { std::cout << "note: you can give port to start." << std::endl; return 0;