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

Function has_key

main/interface/network/APIKey.cpp:50–52  ·  view source on GitHub ↗

* Check if the API key has at least one key. * @return True if there is at least one key present, false otherwise. */

Source from the content-addressed store, hash-verified

48 * @return True if there is at least one key present, false otherwise.
49 */
50 bool has_key() {
51 return !api_keys_.empty();
52 }
53
54 /**
55 * Get the first API key from api_keys.

Callers 1

p_check_set_api_keyFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected