MCPcopy Create free account
hub / github.com/LagPixelLOL/ChatGPTCLIBot / get_key

Function get_key

main/interface/network/APIKey.cpp:58–63  ·  view source on GitHub ↗

* Get the first API key from api_keys. * @return The API key, could be an empty string. */

Source from the content-addressed store, hash-verified

56 * @return The API key, could be an empty string.
57 */
58 std::string get_key() {
59 if (api_keys_.empty()) {
60 return "";
61 }
62 return api_keys_.front();
63 }
64
65 const std::vector<std::string>& get_keys() {
66 return api_keys_;

Callers 14

translateFunction · 0.85
start_loopFunction · 0.85
p_create_docQAFunction · 0.85
uploadFunction · 0.85
upload_binaryFunction · 0.85
viewFunction · 0.85
delete_Function · 0.85
downloadFunction · 0.85
create_fine_tuneFunction · 0.85
list_fine_tunesFunction · 0.85
retrieve_fine_tuneFunction · 0.85
cancel_fine_tuneFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected