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

Method setAPIKey

main/interface/model/Completion.cpp:54–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 void Completion::setAPIKey(const std::string& apiKey) {
55 api_key = apiKey;
56 }
57
58 const std::string& Completion::getModel() const {
59 return model;

Callers 1

to_completionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected