Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LagPixelLOL/ChatGPTCLIBot
/ remove_first_key
Function
remove_first_key
main/interface/network/APIKey.cpp:40–44 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
}
39
40
void remove_first_key() {
41
if (!api_keys_.empty()) {
42
api_keys_.erase(api_keys_.begin());
43
}
44
}
45
46
/**
47
* Check if the API key has at least one key.
Callers
1
p_on_invalid_key
Function · 0.85
Calls
3
empty
Method · 0.45
erase
Method · 0.45
begin
Method · 0.45
Tested by
no test coverage detected