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