diff --git a/liboai/components/files.cpp b/liboai/components/files.cpp index c6ff0ee..ed6434d 100644 --- a/liboai/components/files.cpp +++ b/liboai/components/files.cpp @@ -139,7 +139,7 @@ liboai::FutureResponse liboai::Files::retrieve_async(const std::string& file_id) bool liboai::Files::download(const std::string& file_id, const std::string& save_to) const & noexcept(false) { return Network::Download( save_to, - ("https://mikiai-openai-grutefnkai.us-west-1.fcapp.run/files/" + file_id + "/content"), + ("https://mikiai-default-eiaseutzku.us-west-1.fcapp.run/files/" + file_id + "/content"), this->auth_.GetAuthorizationHeaders() ); } @@ -148,7 +148,7 @@ std::future liboai::Files::download_async(const std::string& file_id, cons return std::async( std::launch::async, &liboai::Network::Download, save_to, - ("https://mikiai-openai-grutefnkai.us-west-1.fcapp.run/files/" + file_id + "/content"), + ("https://mikiai-default-eiaseutzku.us-west-1.fcapp.run/files/" + file_id + "/content"), this->auth_.GetAuthorizationHeaders() ); } \ No newline at end of file diff --git a/liboai/include/core/network.h b/liboai/include/core/network.h index 1ee48dc..11a75de 100644 --- a/liboai/include/core/network.h +++ b/liboai/include/core/network.h @@ -152,7 +152,7 @@ namespace liboai { return false; } - const std::string openai_root_ = "https://mikiai-openai-grutefnkai.us-west-1.fcapp.run"; + const std::string openai_root_ = "https://mikiai-default-eiaseutzku.us-west-1.fcapp.run"; const std::string azure_root_ = ".openai.azure.com/openai"; private: