MCPcopy Create free account
hub / github.com/SpartanJ/eepp / cancel

Method cancel

src/tools/ecode/plugins/aiassistant/llmchatcompletionrequest.cpp:168–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void LLMChatCompletionRequest::cancel(bool resetCancelCallback ) {
169 mCancel = true;
170 if ( mRequestId )
171 mHttp->setCancelRequest( mRequestId, resetCancelCallback );
172 if ( !mHadProgress )
173 onCancel();
174}
175
176const std::string& LLMChatCompletionRequest::getStream() const {
177 return mStream.getStream();

Callers

nothing calls this directly

Calls 1

setCancelRequestMethod · 0.80

Tested by

no test coverage detected